What is ULID?
ULID (Universally Unique Lexicographically Sortable Identifier) is a globally unique identifier that combines timestamp and randomness. Compared to traditional UUIDs, it is sortable and more readable, suitable for distributed systems and databases.
- Globally unique: avoids collisions
- Sortable: arranged by creation time
- Compact & readable: shorter than UUIDs and easier to store
- Use cases: log IDs, database primary keys, message queue identifiers, etc.