zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: Managing multi-site clusters with Zookeeper
Date Sun, 07 Mar 2010 21:43:56 GMT
Hi Martin,
 As Ted rightly mentions that ZooKeeper usually is run within a colo because
of the low latency requirements of applications that it supports.

Its definitely reasnoble to use it in a multi data center environments but
you should realize the implications of it. The high latency/low throughput
means that you should make minimal use of such a ZooKeeper ensemble.

Also, there are things like the tick Time, the syncLimit and others (setup
parameters for ZooKeeper in config) which you will need to tune a little to
get ZooKeeper running without many hiccups in this environment.


On 3/6/10 10:29 AM, "Ted Dunning" <ted.dunning@gmail.com> wrote:

> What you describe is relatively reasonable, even though Zookeeper is not
> normally distributed across multiple data centers with all members getting
> full votes.  If you account for the limited throughput that this will impose
> on your applications that use ZK, then I think that this can work well.
> Probably, you would have local ZK clusters for higher transaction rate
> applications.
> You should also consider very carefully whether having multiple data centers
> increases or decreases your overall reliability.  Unless you design very
> carefully, this will normally substantially degrade reliability.  Making
> sure that it increases reliability is a really big task that involves a lot
> of surprising (it was to me) considerations and considerable hardware and
> time investments.
> Good luck!
> On Sat, Mar 6, 2010 at 1:50 AM, Martin Waite <waite.134@googlemail.com>wrote:
>> Is this a viable approach, or am I taking Zookeeper out of its application
>> domain and just asking for trouble ?

View raw message