-
Notifications
You must be signed in to change notification settings - Fork 363
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
这个每秒多少个的描述是不是有问题 #93
Comments
你说的是指使用了所有的WorkerId,才能达成这个效果。这与官方宣称的单一WorkerId的数量是不一样的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❄ 如果ID生成需求不超过5W个/s,不用修改任何配置参数
❄ 如果超过5W个/s,低于50W个/s,推荐修改:SeqBitLength=10
❄ 如果超过50W个/s,接近500W个/s,推荐修改:SeqBitLength=12
默认是6位workerid + 6位的seq,那么2^12=4096,每秒就是4096000个,为什么说每秒不超过5万个??
The text was updated successfully, but these errors were encountered: