Twitter Snowflake: 64-Bit Unique ID Generation
System Design diagram · made in Skemio

What it shows
- 41 timestamp bits ensure 69 years of millisecond-precision ordering.
- 10 machine ID bits allow 1,024 independent distributed worker nodes.
- 12 sequence bits permit up to 4,096 unique IDs per millisecond per node.
The takeaway
K-ordered 64-bit integers index cleanly in B-Trees without DB bottlenecks.
- #SnowflakeID
- #SystemDesignGuide
- #DistributedSystems
- #DatabaseArchitecture
- #TechLearning





