Re:Ask HN: We just had an actual UUID v4 collision...
by lazide on Friday May 08, 2026 @01:10PM
(#48065967)
Sequences, generally.
[ Parent
| on HN ]
Re:Ask HN: We just had an actual UUID v4 collision...
by tremon on Saturday May 09, 2026 @08:02AM
(#48074279)
That depends on your definition of high-availability. If high availability includes distributed writers, (global) sequences are not the best solution because generating unique sequence values requires synchronisation between all writers. In those cases, you might need to explicitly partition the ID space so that individual writers are guaranteed not to get in each others' hair.