Avinash
The following protocol will help you fix the observed misbehavior. As
Flavio points out, you cannot rely on the order of nodes in getChildren,
you must use an intrinsic property of each node to determine who is the
leader. The protocol devised by Runping Qi and described here will do
th
Hi Anthony
Scalability depends on the mix of reads and writes you do with
ZooKeeper.
If all communication is going through ZooKeeper, then you're probably
expecting 1 or more reads per write. In that case (about equal numbers
of reads and writes), your scalability is limited by the number of
writ