zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject mutexes
Date Sun, 04 Jan 2009 04:13:13 GMT
I assume the recipe for creating a mutex in ZK would be:
create a nonce
create an ephemeral lock on a named node.
if you succeed on the create you one the lock
if not, add an event to watch for the node being deleted
  attempt to lock.


Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

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