zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Waite <waite....@googlemail.com>
Subject is there a good pattern for leases ?
Date Wed, 24 Feb 2010 11:40:19 GMT

Is there a good model for implementing leases in Zookeeper ?

What I want to achieve is for a client to create a lock, and for that lock
to disappear two minutes later - regardless of whether the client is still
connected to zk.   Like ephemeral nodes - but with a time delay.


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