paralleldrive/cuid
View on GitHub ↗ ★ 3,501 JavaScript
Deprecated collision-resistant id spec. Insecure because it leaks timestamps. Use cuid2 instead.
10 mentions on Hacker News by 10 people: 2 stories, 8 comments · first 2018-12-28 · latest 2022-06-13
20082026
-
CUID might be a good alternative if you need something sortable over time: https://github.com/ericelliott/cuid It's mentioned in this IETF draft, but I don't see the analysis made available
comment by pcthrowaway · 2022-06-13 · in New UUID Formats -
Some details on how CUIDs work: https://github.com/ericelliott/cuid
comment by abrookewood · 2022-01-05 · in Understanding UUIDs, ULIDs and string representations -
CUIDs are a good distributed (locally generated) solution. https://github.com/ericelliott/cuid
comment by verdverm · 2021-09-21 · in Generating unique IDs in a distributed environment at high scale -
Would you recommend this over https://github.com/ericelliott/cuid ? I use cuid with Postgres and it’s worked out great.
comment by FractalHQ · 2021-06-01 · in UUID, serial or identity columns for PostgreSQL auto-generated primary keys? -
There is also CUID: https://github.com/ericelliott/cuid
comment by Matrixik · 2021-05-31 · in UUID, serial or identity columns for PostgreSQL auto-generated primary keys? -
▲ 2
Collision-resistant ids optimized for horizontal scaling and performancestory by medmunds · 2021-05-04 · 0 comments
-
…you know the differences, can you please explain them for those like me who do not know both? [1] https://github.com/ericelliott/cuid
comment by reader_1000 · 2021-02-19 · in Things you should do now (2011) -
…based on the browser or the process ID of the server. Cool stuff, thanks for pointing it out! [1] https://github.com/ericelliott/cuid
comment by akdas · 2020-03-23 · in Scalability concepts: distributed ID generation -
▲ 2
Node-cuid .vs. node-UUID comparisonstory by heshiebee · 2019-12-18 · 0 comments
-
cuid removes more of the randomness adds a counter and a fingerprint: https://github.com/ericelliott/cuid The default id in MongoDB does about the same. I always thought the MongoDB identifiers worked well for a lot of use cases. Its also…
comment by gregwebs · 2018-12-28 · in ULID: Universally Unique Lexicographically Sortable Identifier