Unique ID generator
medium 28 minGive every record its own number, from many servers at once.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Why auto-increment fails
- The parts of a Snowflake ID
- UUIDv4 against UUIDv7
Will be probed on
- Clock rollback
- Counter overflow
Stands out
Computes 69.7 years and 4,096 per millisecond.
Senior
Must show
- Machine number leases
- Index locality against hot partitions
- IDs are not secrets
Will be probed on
- Order across machines
- Restart after rollback
Stands out
Says when a plain sequence is better.
Staff
Must show
- A standard for many teams
- Migration of live keys
- Ownership of leases
Will be probed on
- Regions
- Client limits such as 53-bit numbers
Stands out
Keeps the number of schemes small and says why.