This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
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
8405043785
commit
dd3aab974c
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
README.md
+ 6
- 0
README.md
View File
@@ -51,4 +51,10 @@
3.不想将Long型转String给前端用的项目。(如果前端支持bigint,则不用考虑此项)
#### 分布式环境使用方法:
1.可扩大 WorkerIdBitLength 到最多20位,支持 1,048,576 个节点,而且不影响上述并发性能(50W/0.1s)。
2.采用中心化 IdGenerator集群,给节点生成可用 Id 列表,存入 Redis 队列供节点消费。此时64个中心化节点数足够大型互联网项目使用。
Write
Preview
Loading…
Cancel
Save