zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: Lock recipes and the lock path
Date Tue, 20 Sep 2011 20:09:15 GMT
I gave it a vote - thanks.

On 9/20/11 12:44 PM, "Fournier, Camille F." <Camille.Fournier@gs.com>

>Well, if you are locking member IDS that are generated strings that will
>never be reused, the best you can do right now is clean those up after a
>period of time.
>If, on the other hand, your member IDs are meaningful, it's likely you
>will want to reuse these locations in the future when you need to get
>another lock on this member. The overhead for a node in ZK is very very
>low, so unless you are generating a ton of these nodes that you then
>never use again and never clean up, it's not likely to be too much of a
>We have discussed allowing "cleanup" type paths that will delete
>themselves when there are no child nodes. See:

View raw message