5 ms·
Why the id generator? Aren't GUID's enough? The chance of a collision is basically 0.
by ric2b 6y ago
Why the id generator? Aren't GUID's enough? The chance of a collision is basically 0.
- SEJeff 6y agoA few different points of view: https://tomharrisonjr.com/uuid-or-guid-as-primary-keys-be-careful-7b2aa3dcb439 https://tomharrisonjr.com/uuid-or-guid-as-primary-keys-be-ca... https://news.ycombinator.com/item?id=14523523 https://news.ycombinator.com/item?id=14523523 (the hacker news comments for the above article are really insightful) https://www.percona.com/blog/2019/11/22/uuids-are-popular-but-bad-for-performance-lets-discuss/ https://www.percona.com/blog/2019/11/22/uuids-are-popular-bu... https://blog.codinghorror.com/primary-keys-ids-versus-guids/ https://blog.codinghorror.com/primary-keys-ids-versus-guids/
- the_arun 6y agoFor most of the use cases GUID works great. There are some cases where we need a numerical id which is sequential.