2 ms·
> Duplicate IDs shouldn't happen unless you have a bug. One of the benefits of UUIDs is that you don't have to check for duplicate IDs since the chance of gene
by treis 6y ago
> Duplicate IDs shouldn't happen unless you have a bug.
One of the benefits of UUIDs is that you don't have to check for duplicate IDs since the chance of generating the same UUID twice is effectively 0. If you use a system with less randomness then you do have to implement a duplicate check. Which isn't practical when you're working at large scale.