3 ms·
> There are many better alternatives to UUID for the general case in which UUIDv4 is used, that provide some of the following advantages (based on the implement
by Zababa 5y ago
> There are many better alternatives to UUID for the general case in which UUIDv4 is used, that provide some of the following advantages (based on the implementation): - Simpler spec and implementation - Easier to enforce compatibility across implementations (no ambiguity about letter case, order or hyphenation) - Smaller size and better readability - Lexicographically sortable based on time of generation - Deterministic uniqueness guarantee
Could you name a few with their trade off or point me to some resources? I only know about UUIDs and auto-incrementing sequentail ID, but I would love to add a few tools to my toolbox.
- crubier 5y agoCUIDs are a good example that tick all these boxes