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.6.1.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

mongoelector-0.6.1-py2.py3-none-any.whl (9.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mongoelector-0.6.1.tar.gz.

File metadata

File hashes

Hashes for mongoelector-0.6.1.tar.gz
Algorithm Hash digest
SHA256 d5b37166bd9016dd33d783de1641515c55c762fb2df99cd158a3a77280df56a3
MD5 e43ae37cfc3ba149bcd3b9703e9e4be1
BLAKE2b-256 9fc4597f873f22f020305ce56e56147dba9a29b725c4dd42d28e82e8dc4861ab

See more details on using hashes here.

File details

Details for the file mongoelector-0.6.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mongoelector-0.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fae522d6697f35e5bc6dddef190c74ca65f11014df0c174af1df3cba1e9a5496
MD5 86b9895cd56296fe65294fde50db929d
BLAKE2b-256 5bed44baac53bcafd52abf7c1f57a493b781eb03133f19d42ebfaff78f2ce876

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