Zookeeper可以跨集群进行协调吗

1sbrub3j  于 2022-12-09  发布在  Apache
关注(0)|答案(1)|浏览(196)

Background:

We have a single cluster containing 2 app svr nodes n 3 replicated db nodes. Our application is a .net app, deployed on Linux app svrs.
We will move to a multi-cluster architecture in separate continents in the near future. Those clusters will replicate our existing cluster.

Question 1:

Can I use Zookeeper as means to achieve consistency. Example: I would like to avoid an operation in NY n a similar operation in EU occurring simultaneously n are inconsistent.
Everything I read about Zookeeper points out to a single cluster solution n I would like to avoid implementing my own distributed locks.

Question 2:

Do you have a suggestion different than implementing Zookeeper?
Many thx

gojuced7

gojuced71#

我没有得到任何响应的原因很可能是因为我所要求的在最坏的情况下是不可能的,或者在最好的情况下会由于同步要求而使集群屈服。
我现在相信,允许不一致并在最终的一致性同步步骤中处理它们会更好。

相关问题