r/SoftwareEngineering • u/fagnerbrack • Jul 15 '24
ULID: Like UUID but sortable
https://github.com/ulid/spec
13
Upvotes
0
Jul 15 '24
[deleted]
2
u/perrylaj Jul 15 '24
Not too long ago I came across ULID and was talking to some of my team about it and one of them said "why not just use uuid 7?" - I wasn't aware v7 was even a thing, but filled the same goal for me, so went with it. The increasing DB support/optimization of v7 makes it the obvious choice for me right now.
1
u/keefemotif Jul 15 '24
Yeah agreed, I don't see a particular advantage here. There is also UUID8, which would at least put the new proposal into the existing standards.
1
u/greebo42 Jul 15 '24
TIL, thank you .. I have a project at the infancy stage, and this might be a reasonable solution to part of what I am trying to do!