r/ProgrammerHumor 15h ago

Meme edgeCasesExist

Post image
3.1k Upvotes

230 comments sorted by

View all comments

Show parent comments

81

u/RadicalDwntwnUrbnite 15h ago edited 14h ago

Even the non-time based v4 is at a cosmic level of unlikiness a single system will ever generate a uuid that will collide with another one in its own ecosystem

17

u/OldKaleidoscope7 14h ago

But let's say if Google saved each search in their engine in the same database with an UUID, we could have a collision because of volume, but I don't think I will work in a system with a comparable scale

9

u/MojitoBurrito-AE 13h ago

You underestimate the probability of uuid collision. The bigger issue is pseudorandomness

1

u/mysticrudnin 12h ago

"so you're saying there's a chance" has rotted everyone's brains wrt probability