4 ms·
It seems weird to me that cloud providers do not offer distributed coordination primitives "as a service." I understand there are KV stores but not with watches
by closeparen 6y ago
It seems weird to me that cloud providers do not offer distributed coordination primitives "as a service." I understand there are KV stores but not with watches, locks, etc. in the way that etcd and ZK have them.
- the_arun 6y agoAgreed. 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.
- skyde 6y agoAre you looking for something like this ? https://azure.microsoft.com/en-us/updates/azure-cosmos-db-api-for-etcd-in-preview/ https://azure.microsoft.com/en-us/updates/azure-cosmos-db-ap...
- closeparen 6y agoYes! Exactly. Are there analogues in GCP and AWS?