Hacker News new | ask | show | jobs
by BrunoVT1992 61 days ago
ULID (Universally Unique Lexicographically Sortable Identifier) and KSUID (K-Sortable Unique Identifier) are both popular time-sortable alternatives to UUID. Both formats provide time-ordering for better database performance, but they differ in size (128-bit vs 160-bit), encoding (Crockford Base32 vs Base62) and timestamp precision (millisecond vs second).