Jacob answered your first question. With respect to your last question,
yes it is save to share ZooKeeper objects. The ZooKeeper object is
thread safe and it is much more efficient for all threads to share the
same object rather than having an object per thread.

ben

Anthony Urso wrote:
> I have a distributed server cluster and each of the many threads on
> each server has a ZooKeeper java client used to communicate to other
> machines.  What kind of scalability can I expect from the zookeeper
> server?  Can I just add more QuorumServers infinitely?
>
> Also, assuming I can coordinate the default watcher behavior of these
> various threads, would it be safe to share the ZooKeeper objects
> between them?
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Zookeeper-user mailing list
> Zookeeper-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zookeeper-user
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Zookeeper-user mailing list
Zookeeper-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zookeeper-user

Reply via email to