ArchiveOrangemail archive

zookeeper-user.hadoop.apache.org


(List home) (Recent threads) (34 other Apache Hadoop lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • This list contains about 2,457 messages, beginning Jul 2008
  • This list doesn't seem to be active
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

txzookeeper - a twisted python client for zookeeper

Ad
Kapil Thangavelu 1290115100Thu, 18 Nov 2010 21:18:20 +0000 (UTC)
At canonical we've been using zookeeper heavily in the development of a new
project (ensemble) as noted by gustavo.

I just wanted to give a quick overview of the client library we're using for
it. Its called txzookeeper, its got 100% test coverage, and implements
various queue, lock, and utilities in addition to wrapping the standard zk
interface. Its based on the twisted async networking framework for python,
and obviates the need to use threads within the application, as all watches
and result callbacks are invoked in the main app thread. This makes
structuring the code signficantly simpler imo than having to deal with
threads in the application, but of course tastes may vary ;-).

Source code is here : http://launchpad.net/txzookeeper

comments and feedback welcome.

cheers,

Kapil
Mahadev Konar 1290207358Fri, 19 Nov 2010 22:55:58 +0000 (UTC)
Nice.
Any chance of putting it back in zk?

Would be useful.

Thanks
mahadev


On 11/18/10 1:17 PM, "Kapil Thangavelu"  wrote:

At canonical we've been using zookeeper heavily in the development of a new
project (ensemble) as noted by gustavo.

I just wanted to give a quick overview of the client library we're using for
it. Its called txzookeeper, its got 100% test coverage, and implements
various queue, lock, and utilities in addition to wrapping the standard zk
interface. Its based on the twisted async networking framework for python,
and obviates the need to use threads within the application, as all watches
and result callbacks are invoked in the main app thread. This makes
structuring the code signficantly simpler imo than having to deal with
threads in the application, but of course tastes may vary ;-).

Source code is here : http://launchpad.net/txzookeeper

comments and feedback welcome.

cheers,

Kapil
Home | About | Privacy