How do you make globally unique IDs? There are a few ways, and they all have their pros and cons.
Jinan Al-Mansouri
·932 views
hey everyone, i'm wrestling with generating truly unique IDs across multiple distributed services. we've looked at UUIDs, but the length can be a problem for some downstream systems. Snowflake IDs are an option, but coordinating time synchronization across lots of servers feels like it could be tricky. what are your go-to methods for generating unique IDs in a distributed environment, any hidden gotchas or libraries you prefer
36 comments