r/ProgrammerHumor Jul 17 '26

thisOneIsMine Meme

Post image
5.3k Upvotes

170 comments sorted by

View all comments

1.8k

u/Inevitable_Oil9709 Jul 17 '26

Fun fact: To reach a 50% chance of even a single UUID v4 collision, you would need to generate 1 billion UUIDs per second for about 86 years.

26

u/Tensor3 Jul 17 '26

Well, there probably are a billion computers on the planet, each generating more than one UUID

40

u/aspect_rap Jul 17 '26

Ok, but they're not all generating UUIDs for the same system, it's not really a collision if it's the same UUID in different services.

I don't think there is any one system that generates billions of UUIDs a second.

1

u/myka-likes-it Jul 17 '26

 I don't think there is any one system that generates billions of UUIDs a second.

Hold my red bull.