3 ms·
Agreed. We need highly available & distributed 1. Locking service 2. Id generator 3. Bloom filter etc.,
by the_arun 6y ago
Agreed. We need highly available & distributed
1. Locking service
2. Id generator
3. Bloom filter etc.,
- meddlepal 6y agoAzures blob service supports the first one. Its strongly consistent and has a lease/lock API. Ive seen leader election and coordination stuff built on top of it.
- ric2b 6y agoWhy 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.