This comes up very often in ZK discussions. Here is an article that Camile
Fournier wrote a few years ago:
http://whilefalse.blogspot.com/2012/12/building-global-highly-available.html
My personal belief is that Zookeeper clusters should be homed in 1 data center
only. However, if you have a dedicated connection between data centers (i.e.
NOT over the public internet) then you might be able to make it work with a
carefully arranged cluster (using Observers, etc.).
-Jordan
On June 9, 2015 at 10:27:36 AM, Brandon M Swink ([email protected]) wrote:
Dear Zookeeper Developers,
I have encountered an architectural question relating to managing an
application with Zookeeper that is running in two separate data centers in
separate geographically disparate cities. I realize this may be a question you
have answered on the archive so please feel free to point me back to an
article. I am seeking a way to keep Zookeeper resilient in two data centers
managing the same application and be able to suffer a loss of a single data
center and maintain a quorum so that Zookeeper remains up. I do understand the
latency introduced with the geography but architecturally what is leading
practice to accomplish these requirements? Thanks for all of your time in
advance!
Brandon Swink
IT Architect
Big Data Solutions North America Team | 1000 Belleview Mail Bx 28-7035 Dallas,
TX 75215-1870 United States
Phone: 720-395-1055
E-mail: [email protected]