Re:ULID: Universally Unique Lexicographically Sortable Ident...
by munk-a on Thursday December 27, 2018 @08:08PM
(#18774088)
The gamble is the removal of a central key registry. If you are assigning these UUID/ULIDs as... UIDs then you need to be able to assign them uniquely... if multiple servers/threads/whatevers can generate and assign them independently then there is a chance you'll suffer from ID collision... it's incredibly rare though.
[ Parent
| on HN ]
Re:ULID: Universally Unique Lexicographically Sortable Ident...
by jakevn on Thursday December 27, 2018 @08:14PM
(#18774111)
But with optimistic concurrency, why is this a gamble? It's an overhead that comes as a result of the trade-offs, sure, but it's a finite cost. Collision can be handled without breaking anything at the cost of implementation complexity.