Implementing a Unique Identifier in a Distributed System
summary
Covers strategies for generating unique IDs in distributed systems, comparing approaches like database auto-increment (with sharding), random strings, UUID v1/v4, standalone ticket services, and Twitter Snowflake (or equivalents). Explains pros and cons of each method and describes how PropellerAds implements unique ID generation in their infrastructure.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 7:32Auto-increment ID problems
- 12:28UUID vs Snowflake IDs
- 19:22Generating IDs in Go
- 23:16Debugging ID collisions
- 27:13Final solution deployment
- 30:31Security and time sync
- 33:11Q&A
related talks
25mGrowing Distributed Systems
22mDesigning Concurrent Distributed Sequence Numbers ...
31m"Beauty and the Beast: Applications and Distributed Systems"
37mSharding: Growing Systems from Node-scale to Planet-scale
46mAuth and Distributed Systems: Don't Throw the Baby Out with the Bathwater
45mDo Distributed Systems they said. It'll be fun they said.
17mEnsuring Reliable Distributed Transactions in Logistics
50mApproaches to implementing sharding in modern [No]SQL systems
