Live data from Hacker News

Understanding UUIDs, ULIDs and string representations

sudhir.io

1–10 of 104 posts

Re: Understanding UUIDs, ULIDs and string representations

#8
post #3

Why not CUID?

Snowflake ID[1] is another system related to those in the article. It uses 64 bits only, and has good sharding support, so can be more useful in some contexts. However, it naturally has worse independent random-collision chances than a 128 bit system. [1] https://en.wikipedia.org/wiki/Snowflake_ID

Re: Understanding UUIDs, ULIDs and string representations

#10
Most people are familiar with time and random UUIDs but and I had sort of known about v5 UUIDs but recently used them to get consistent identifiers from an input value… super useful because you can do `uuidv5($namespace_uuid, data)` and get the same UUID everytime.
Post reply on HN