Re:Nanosecond timestamp collisions are common
by dtech on Friday July 21, 2023 @05:53AM
(#36811960)
I feel like v7 is almost a strictly better v4. Assuming you can generate a v7 (you have a time source), what are the disadvantages?
[ Parent
| on HN ]
Re:Nanosecond timestamp collisions are common
by wolf550e on Friday July 21, 2023 @06:36AM
(#36812202)
You can hand out uuidv4 to clients without revealing anything.
Re:Nanosecond timestamp collisions are common
by madsbuch on Friday July 21, 2023 @06:27AM
(#36812151)
Entropy. You loose bits to a known source, which reduce entropy of the UUID.
Re:Nanosecond timestamp collisions are common
by dralley on Friday July 21, 2023 @12:42PM
(#36816080)
128 bits is a lot of entropy to go around, though.
I do feel 74 bits per second is enough though. That would require 2^(74/2) = 137 billion UUIDs generated in a single second for a 50% chance of a single collision.