2 ms·
UUIDv7 is still a draft, but seems relatively uncontroversial so will likely be accepted. Still a lot of libraries and systems with uuid support are hesitant to
by Macha 4y ago
UUIDv7 is still a draft, but seems relatively uncontroversial so will likely be accepted. Still a lot of libraries and systems with uuid support are hesitant to add v7 support until it got gets finalised, so for now ULID has more widespread support.
They're basically the same, except uuidv7 has a few bits less randomness for UUID fields like version and variant, so I'm sure in 5-10 years the answer will be just use v7, but for the time being, for those use cases I'd stick to ULID.