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.

Filename, size & hash SHA256 hash help File type Python version Upload date
mongoelector-0.6.1-py2.py3-none-any.whl (9.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
mongoelector-0.6.1.tar.gz (20.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page