Repair generator identity, sequence and clock handling.
Data & storage · Intermediate · 11 min
Unique IDs at Scale
Compare random IDs with structured IDs and protect generator identity and time.
1Writer A2ID allocator
- 1Writer A → ID allocatorRequestAllocate from one counter
- 2ID allocator → Writer AReplyReply: ID allocator
Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.
2 components visible · Writer A + ID allocator highlighted
Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.
You’ll learn
- Random identity is not an access-control policy.
- A generator’s inputs must remain distinct under concurrency.
- Failure handling is part of ID generation.
PUT THE IDEA TO WORK

