3 ms·
Cuid2: Next Generation GUIDs
- stop50 1y agoWhen did someone ran into an collision with uuids?!
- taylodl 1y agoThe creator of Cuid, Eric Elliot, claims to have run into collisions with UUIDs. I'm extremely skeptical of that claim. It's far more likely that the site he was working on had an implementation issue. Anyway, here's the article where he explains his motivation for Cuid. https://medium.com/javascript-scene/identity-crisis-how-modern-applications-generate-unique-ids-39562736f557 https://medium.com/javascript-scene/identity-crisis-how-mode...
- selfhoster11 1y agoUUIDs do 99% of what this does, even though Base 36 is much better than Base 16 as UUIDs use.
- taylodl 1y ago> Need unique ids in your app? Forget UUIDs and GUIDs which often collide in large apps. Use Cuid2, instead. This is misleading. In fact, Cuid2 IDs are more likely to collide than a UUID, but both are negligible. Cuid2 IDs are URL-friendly, that's their biggest advantage.