3 ms·
Having built many distributed applications I would hesitate to use ZK/consul directly, mostly since your cloud provider is already providing most type of primit
by strictfp 5y ago
Having built many distributed applications I would hesitate to use ZK/consul directly, mostly since your cloud provider is already providing most type of primitives directly or indirectly in the services they provide.
- 0xbadcafebee 5y agoBut most people use them because they're required by something else, like Vault, or Solr, or some other tool built to require a particular distributed key value store.
- strictfp 5y agoThere's nothing intrinsically wrong with say ZK, it's very powerful, but my point is that you should avoid these systems if you can. Distributed concensus is not an easy problem, it's very error prone, and if you do this more than you absolutely have to you're doing it wrong.
- jpgvm 5y agoYou are 100% correct. Avoid at all costs but when you need it, well you need it. Usually if you find yourself in that boat the best thing you can do is just understand exactly why you need consensus and ensure scope of data managed in ZK never expands beyond that point.