Re: Distributed lock via ZkClient

2011-10-24 Thread Mike Schilli
On Mon, 24 Oct 2011, Mark Miller wrote: There is a lock recipe in the zk source code you can find and use with a little digging. Here's one in the docs: http://zookeeper.apache.org/doc/r3.3.3/recipes.html#sc_recipes_Locks -- -- Mike Mike Schilli m...@perlmeister.com On Oct 24, 2011,

Re: ANN: Curator - Netflix's ZooKeeper library

2011-10-24 Thread Adam Rosien
Not to be too buzzword-compliant, but I've found the FSM module in Akka to be really great for modeling, uhh, FSMs, and the use of ZooKeeper makes one think a lot in terms of FSMs, so a Scala/Akka/FSM-based client it might be a fruitful path. .. Adam On Tue, Oct 11, 2011 at 9:23 PM, Joe Stein wro

Re: Distributed lock via ZkClient

2011-10-24 Thread Mark Miller
There is a lock recipe in the zk source code you can find and use with a little digging. On Oct 24, 2011, at 5:41 AM, zknewbie wrote: > Hi All, > Has anyone tried to implement the distributed lock via ZkClient library? > I need to implement a distributed lock mechanism for my project and I'm > l

Zookeeper when WAN

2011-10-24 Thread SuoNayi
Hi all,I'm very new to ZooKeeper and I wanna use it on the internet(WAN). I'm worring about its performance and security or zookeeper supports security or not,are there any successful use cases? Thanks.

Re: Distributed lock via ZkClient

2011-10-24 Thread Ted Dunning
Twitter has one as well. Beware that many open libraries to do this have small flaws in them. Also beware that global locks are usually an architecture bug in distributed systems. On Sun, Oct 23, 2011 at 9:23 PM, Jordan Zimmerman wrote: > FYI - Netflix has just open-sourced a new library that d