1
0
mirror of synced 2026-10-18 20:46:11 +08:00

editreadme

This commit is contained in:
zhouzj
2021-03-11 21:29:56 +08:00
parent ca31a55e28
commit 00c42e0c8d

View File

@@ -19,7 +19,7 @@
6.你希望系统能运行 100 年以上。
## 传统雪花算法的问题
## 传统算法问题
1.生成的ID太长。
@@ -32,7 +32,7 @@
5.依赖外部缓存系统。
## 雪花漂移算法特点
## 新算法特点
1.ID更短,是传统算法的几倍,用50年都不会超过 js Number类型最大值。(默认配置WorkerId是6bit,自增数是6bit)