zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Distributed Applocation using Zookeeper
Date Sat, 07 Jun 2014 22:16:06 GMT
Also, if you have to create several state flags in ZK (perhaps you have to
choose several IP addresses, for instance) you can use the multi update

It is almost never necessary to use an actual lock recipe with ZK.  Almost
always what you really want is some kind of first come, first served.  For
this, the optimistic update works very well.  Even if you need to do a
read-modify-write, the ability to version updates allows very clean
implementation with ZK.

On Sat, Jun 7, 2014 at 11:59 AM, Kapil <kapildeshpande.1988@gmail.com>

> :) Thanks Rakesh. Its very good advice. I will analyse again to decide
> which
> approach is more appropriate for requirement.
> Thanks for your time.
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Distributed-Applocation-using-Zookeeper-tp7579952p7579970.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message