DEV Community

Discussion on: What would you use as a sortable, globally unique, ID?

citizen428 profile image
Michael Kohl

Was just talking about this recently and we settled on ULID as potential solution.

stereobooster profile image

Yes. Unique, sortable, more compact Base32 encoding

rhymes profile image
rhymes Author

That's definitely an option!

The only alternative to ULID I found is which has a smaller set of bits for timestamp.

Let me know how it goes? Have you checked the implementation in the language you need?