Skip to main content

Distributed master election and locking in mongodb

Project description


.. image::
:alt: Join the chat at

.. image::

.. image::

.. image::
:alt: Code Health

.. image::
:alt: Documentation Status

.. image::


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:

.. 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.


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


* Cluster Health and Management within MongoElector


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.5.0.tar.gz (20.7 kB view hashes)

Uploaded source

Built Distribution

mongoelector-0.5.0-py2.py3-none-any.whl (9.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page