Re: zookeeper utils

2010-03-02 Thread Henry Robinson
Just to illustrate one of the primitives you're looking for: an AtomicInteger equivalent would be fairly easy to construct, with nearly identical semantics to the Java version. Let's say a given znode has four bytes of data that represent an integer value. Get operations or set operations are easy

Re: zookeeper utils

2010-03-02 Thread David Rosenstrauch
On 03/02/2010 05:52 PM, Ted Dunning wrote: What other examples are you looking for? On Tue, Mar 2, 2010 at 1:04 PM, David Rosenstrauchwrote: Is there a library of higher-level zookeeper utilities that people have contributed, beyond the barrier and queue examples provided in the docs? Well,

Re: zookeeper utils

2010-03-02 Thread David Rosenstrauch
Thanks, I'll take a look. DR On 03/02/2010 05:37 PM, Mahadev Konar wrote: Hi David, There is an implementation for locks and queues in src/recipes. The documentation residres in src/recipes/{lock/queue}/README.txt. Thanks mahadev On 3/2/10 1:04 PM, "David Rosenstrauch" wrote: Was readi

Re: zookeeper utils

2010-03-02 Thread Ted Dunning
What other examples are you looking for? On Tue, Mar 2, 2010 at 1:04 PM, David Rosenstrauch wrote: > Is there a library of higher-level zookeeper utilities that people have > contributed, beyond the barrier and queue examples provided in the docs? -- Ted Dunning, CTO DeepDyve

Re: zookeeper utils

2010-03-02 Thread Mahadev Konar
Hi David, There is an implementation for locks and queues in src/recipes. The documentation residres in src/recipes/{lock/queue}/README.txt. Thanks mahadev On 3/2/10 1:04 PM, "David Rosenstrauch" wrote: > Was reading through the zookeeper docs on the web - specifically the > "recipes and sol

zookeeper utils

2010-03-02 Thread David Rosenstrauch
Was reading through the zookeeper docs on the web - specifically the "recipes and solutions" page (as well as comments elsewhere inviting additional such contributions from the community) and was wondering: Is there a library of higher-level zookeeper utilities that people have contributed, be