Hacker News new | past | comments | ask | show | jobs | submit login

ULIDs solve these issues.

Basically 48 bits of millisecond timestamp then 80 bits of randomness.

The technique has been used in MSSQL apps since about 2003 (although people called them COMBs instead of ULIDs back then)

https://github.com/oklog/ulid




Nice, I hadn't seen that before. It looks pretty good on first glance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: