Skip to main content

Distributed master election and locking in mongodb

Project description

===============================
MongoElector
===============================

.. image:: https://badges.gitter.im/zebpalmer/MongoElector.svg
:alt: Join the chat at https://gitter.im/zebpalmer/MongoElector
:target: https://gitter.im/zebpalmer/MongoElector?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

.. image:: https://img.shields.io/pypi/v/mongoelector.svg
:target: https://pypi.python.org/pypi/mongoelector

.. image:: https://img.shields.io/travis/zebpalmer/MongoElector.svg
:target: https://travis-ci.org/zebpalmer/MongoElector

.. image:: https://landscape.io/github/zebpalmer/MongoElector/master/landscape.svg?style=flat
:target: https://landscape.io/github/zebpalmer/MongoElector/master
:alt: Code Health

.. image:: https://readthedocs.org/projects/mongoelector/badge/?version=latest
:target: https://readthedocs.org/projects/mongoelector/?badge=latest
:alt: Documentation Status

.. image:: https://api.codacy.com/project/badge/Grade/9b0eca961d57462aac560bbee862eee7
:target: https://www.codacy.com/app/zeb/MongoElector?utm_source=github.com&utm_medium=referral&utm_content=zebpalmer/MongoElector&utm_campaign=Badge_Grade




About
======

The MongoElector project provides two pieces of distributed coordination;
Distributed locks via 'MongoLocker' and master elections via 'MongoElector'.
MongoElector makes heavy use of MongoLocker, but the locking functionality
within MongoLocker can be used separately.


* Free software: GPLv3
* Documentation: https://mongoelector.readthedocs.io.

.. NOTE::
As of 0.3.0 release, the distributed master election functionality is working.
Additional features and functionality as well as bug fixes and minor API changes
will be ongoing over the next couple of minor releases.



Features
--------

* Simple API to allow distributed master election
* Distributed locking via MongoDB
* Ensure/Verify a specific instance holds the lock
* TTL


Todo
-----

* Cluster Health and Management within MongoElector


=======
History
=======

0.3.0 (2016-08-22)
------------------

* Initial working release of master election logic.

0.2.1 (2016-08-10)
------------------

* Distributed locking api & functionality largely complete & stable.


0.0.1 (2016-05-13)
------------------

* Hello World

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

mongoelector-0.4.1.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

mongoelector-0.4.1-py2.py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 2 Python 3

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