Home

Posts

Tags

Unique ID Generator

In a single database where you can just use an auto_increment column, distributed systems have multiple nodes working simultaneously. If they don’t coordinate perfectly, they might accidentally hand out the same ID to two different users.

To solve this, we need a strategy that ensures IDs are

Common Approaches

UUID

Ticket Server

Twitter Snowflake Approach

Tags: