Python - Java cross compatible locks

16 views
Skip to first unread message

Paul Groudas

unread,
Dec 8, 2015, 12:36:52 PM12/8/15
to python-zk
Hello!

We're in the planning stages of implementing distributed locks within our development stack, which is currently a mix of Python and Java.

In surveying the landscape around Zookeeper, it seems like there are some nice implementations of locks in some of the client libraries, like Apache Curator (for java)[1] and Kazoo (for python)[2].  However, I was wondering if anyone had any experience in working with locks that are actually shared between clients from different languages (i.e. same lock used to coordinate python and java processes).  I'm sure I could implement the base line Zookeeper lock recipes[3] in both languages, but I'd like to avoid it if I could :).

Does anyone have any experience or suggestions for this use case?

Thanks in advance,
Paul

Reply all
Reply to author
Forward
0 new messages