Yes it is like that.. The zookeeper leader election recipe is a "way to work" on the client side to implement this kind of "selecto who process" logic in a dristributed system.
On Wed, Aug 13, 2014 at 3:13 PM, mufc_fan <[email protected]> wrote: > From ur reply, i understand that we have to code these receipes by making > use > of client side libraries. thus when we have send message to all customers > in > db....first we have to elect a leader by leader election receipe logic and > we have to code it using client side libraries. Also when leader fails, > watch event triggers thus another election will be held ....correct me if > am > wrong...Thus we are creating znodes in zk server and we are making use of > watch event ...I have to whether this refers as co-ordination of this > service > > > > -- > View this message in context: > http://zookeeper-user.578899.n2.nabble.com/Leader-election-in-zookeeper-tp7580147p7580152.html > Sent from the zookeeper-user mailing list archive at Nabble.com. > -- Ing. Alvaro Gareppe [email protected]
