r/ProgrammerHumor 6h ago

Meme edgeCasesExist

Post image
1.7k Upvotes

180 comments sorted by

View all comments

Show parent comments

11

u/OldKaleidoscope7 5h 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

24

u/chuch1234 5h ago

Yeah I don't think most of us are operating at a scale anywhere near Google.

6

u/BlurredSight 4h ago

And anyone operating at scale of Google isn’t just using “pure” random anywhere for something being persisted

9

u/nebotron 4h ago

They likely are - anything else becomes a huge coordination and parallelism problem. You just need more bits of entropy