Skip to main content

Zookeeper Tools

Project description

===============
Zookeeper Tools
===============

``zktools`` is a package of tools implementing higher level constructs using
`Apache Zookeeper`_.

It currently provides:

* ``Configuration`` - Zookeeper Configuration Helpers
to store and load configuration information stored
in Zookeeper nodes.
* ``Locks`` - A Zookeeper lock with support for
non-blocking acquire, modeled on Python's Lock objects that also includes a
`Revocable Shared Locks with Freaking Laser Beams` described in the
`Zookeeper Recipe's
<http://zookeeper.apache.org/doc/current/recipes.html#sc_recoverableSharedLocks>`_.

See `the full docs`_ for more information.

License
=======

``zktools`` is offered under the MPL license.

Authors
=======

``zktools`` is made available by the `Mozilla Foundation`.

.. _Apache Zookeeper: http://zookeeper.apache.org/
.. _the full docs: http://zktools.rtfd.org/


Changelog
=========

0.2 (02/03/2012)
-------------

Changes
*******

- Added context manager return to lock to allow use of the 'with'
statement.
- Refactored to use zc.zk ZooKeeper library for higher level Zookeeper
abstraction with automatic watch re-establishment.

Features
********

- Node object to retrieve ZNode data from Zookeeper and keep it up
to date.
- Node objects can have data and children subscribers.
- NodeDict object that maps a shallow tree (one level of children)
into a dict-like object.

Backward Incompatibilities
**************************

- SharedZkLock has been refactored into ZkWriteLock and ZkReadLock.
- ``revoked`` is a property of Locks, not a method.
- ZkConnection is gone, lock objects, ZkNode, and ZkNodeDict all expect
zc.zk ZooKeeper instances.


0.1 (11/22/2011)
----------------

Features
********

- Lock implementation, with revokable shared locks.
- Zookeeper connection object with automatic reconnect.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zktools-0.2.tar.gz (11.5 kB view details)

Uploaded Source

File details

Details for the file zktools-0.2.tar.gz.

File metadata

  • Download URL: zktools-0.2.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zktools-0.2.tar.gz
Algorithm Hash digest
SHA256 c6cc6d9b8af6ed806b39b95a3bc1412d73b5a482b7cd8064e9ff577f54474cd8
MD5 9d497221b8cf3c87be634c924ee33e9e
BLAKE2b-256 f251b82e0c70ef7c344b50a674befc6fdbee2ec5f7274450e995a7c925038ef4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page