Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否允许在一个应用程序内有多个实例 #105

Open
wzshuang opened this issue Jun 18, 2024 · 0 comments
Open

是否允许在一个应用程序内有多个实例 #105

wzshuang opened this issue Jun 18, 2024 · 0 comments

Comments

@wzshuang
Copy link

场景:
不同的业务之间id允许重复,比如订单业务、库存业务,这个时候就想给每个业务单独创建一个id生成实例,这样就能减少id冲突的概率,也可以通过配置使生成的id足够短。如果多个业务共用同一个id,id冲突概率、id生成速度、id的长度都会互相影响。
所以想问下,是否有办法在一个应用程序内创建多个不同的实例

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant