This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
idgenerator
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
6
Wiki
Activity
Issues
5
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
edit
tags/v1.0.0
zhouzj
4 years ago
parent
0b181e1c05
commit
df84d0261c
1 changed files
with
9 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
README.md
+ 9
- 0
README.md
View File
@@ -30,3 +30,12 @@
2.SnowWorkerM2.cs 是传统雪花算法。
2.SnowWorkerM2.cs 是传统雪花算法。
#### 如何调整
1.js Number 类型最大数值:9007199254740992,本算法在保持并发性能(5W+/0.01s)和最大64个WorkerId(6bit)的同时,能用70年才到js Number Max值。
2.增加WorkerId位数到8bit(128节点)时,15年达到js Number Max值。
Write
Preview
Loading…
Cancel
Save