3 ms·
Duplicate IDs shouldn't happen unless you have a bug. Them being guessable shouldn't be an issue if you have proper access controls. ...which means that not b
by Sohcahtoa82 6y ago
Duplicate IDs shouldn't happen unless you have a bug.
Them being guessable shouldn't be an issue if you have proper access controls.
...which means that not being random opens you up to potential bugs and security issues...
I think I changed my own mind while typing this and I agree with you.
- 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.