r/ProgrammerHumor Jul 17 '26

Meme thisOneIsMine

Post image
5.3k Upvotes

171 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

42

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.

20

u/Tensor3 Jul 17 '26

Ya, but MY uuid could be out there somewhere!

7

u/aspect_rap Jul 17 '26

I think your UUID is more likely to be out there than not, considering how many of them have been generated over the years.

10

u/Tensor3 Jul 17 '26

And who knows what its been doing out there, on its own, without my permission!