Menu
Back to Discussions

how do you make sure IDs are unique everywhere

I need some ideas on creating unique IDs for a distributed system. We're shifting to microservices, and using sequential IDs from one database is slowing things down. What methods have worked for you? I'm considering UUIDs, Snowflake IDs, or maybe other options. What are the pros and cons you've seen with each?
27 comments

Comments

Loading comments...