Skip to content

💎多语言实现,高性能生成唯一数字ID。 💎优化的雪花算法(SnowFlake)——雪花漂移算法,在缩短ID长度的同时,具备极高瞬时并发处理能力(50W/0.1s)。 💎原生支持 C#/Java/Go/Rust/C/JavaScript/TypeScript/Python/Pascal 多语言,提供其它适用于其它语言的多线程安全调用动态库(FFI)。💎支持容器环境自动扩容(自动注册 WorkerId ),单机或分布式唯一IdGenerator。💎顶尖优化,超强效能

active 2023-08-152026-05-03 (UTC)

Complete coverage26,511 / 26,511 hourly files (100%) · 2 absent upstream2023-08-152026-08-23 (UTC)
Events
1.8K
Pushes
18
Pull requests
16
Issues
78
Stars
1.5K
Forks
142

Activity over time

Daily event counts in the loaded window

Line chart, 993 days from 2023-08-15 to 2026-05-03. Pushes: 18 total, peak 4 in a day. Pull requests: 16 total, peak 3 in a day. Issues: 78 total, peak 12 in a day. Comments: 90 total, peak 16 in a day. Stars: 1,454 total, peak 56 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
yitter96181045
Sligcm4002
hczs3001
flybull3001
CupidStar3001
Zardw3001
jianliulin3002
MuJianxuan3002
tqq19945163010
lichenglin0203000
molixiaoge3002
chushiyun20153002
LemonNoCry2002
ZoMinster2002
shophyliu2001
ListenV2001
zhangkeyuan2001
ap04051402000
wzshuang2001
aprilyush2000

Recent activity

Latest issues, pull requests and releases

  • Issue#13317645644592025-11-29 02:23
    C# 版本能将DefaultIdGenerator改成虚方法、属性,内部接口、内公开出来
  • Pull request#132zhaoweijie12132025-08-21 06:55
  • Issue comment#128jianliulin2025-08-14 03:12
    为什么漂移算法初始化时需要500ms的延时
  • Issue comment#122BeamBrother2025-07-21 03:50
    为什么ts版本默认走的是常规的雪花算法?
  • Issue comment#83jixiwen2025-06-13 04:04
    java中workerId的数据类型short最大值是32767,要是服务集群部署,每个节点分配一个用不了多久就达到最大值了吧
  • Issue comment#129progsq2025-05-22 08:19
    java版本,从id解析时间戳部分,跟实际实际对不上
  • Issue comment#129progsq2025-05-22 08:18
    java版本,从id解析时间戳部分,跟实际实际对不上
  • Issue#128wzszsw2025-05-02 08:19
    为什么漂移算法初始化时需要500ms的延时
  • Issue#127MuJianxuan2025-04-21 07:32
    疑问
  • Issue#126wswind2025-04-17 03:56
    c# 用 ushort 接收 workerid 这里的注释是不是写错了,最大值应该是16
  • Issue#125hanxiaxuanyuan2025-04-12 12:47
    求一个macbook m4可以用的dylib包
  • Issue comment#123ListenV2025-04-10 08:15
    能否允许 WorkerIdBitLength 长度为0 ?
  • Issue comment#124yitter2025-04-10 05:33
    C版本的TurnBackId计算有误
  • Issue comment#123yitter2025-04-10 05:28
    能否允许 WorkerIdBitLength 长度为0 ?
  • Issue#124lns03032025-03-27 08:22
    C版本的TurnBackId计算有误
  • Issue comment#119MuJianxuan2025-03-23 07:16
    多线程存在id重复,200并发很容易复现 100多并发偶尔复现,这是我配置的不对吗
  • Issue comment#86MuJianxuan2025-03-23 07:09
    可以从id分解出时间和workid吗?
  • Issue comment#108lolove2025-03-09 06:34
    對ARM架構DLL的支持
  • Issue#123ListenV2025-02-08 12:47
    能否允许 WorkerIdBitLength 长度为0 ?
  • Issue comment#105wzshuang2025-01-22 08:49
    是否允许在一个应用程序内有多个实例
  • Issue#120hczs2025-01-20 14:17
    原理问题:关于ID的三部分每部分的位数
  • Issue comment#120hczs2025-01-20 14:17
    原理问题:关于ID的三部分每部分的位数
  • Issue comment#92yitter2025-01-19 18:30
    看了下go的代码用的加法返回geneid可能有bug
  • Pull request#117yitter2025-01-19 17:58
  • Pull request#115yitter2025-01-19 17:57

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 1,454 stars here means stars gained during the window, not the repo's star count.