zebpalmer / MongoElector

Distributed Locks and Master Election in Mongo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoElector

Join the chat at https://gitter.im/zebpalmer/MongoElector

image

image

Code Health

Documentation Status

image

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.

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

About

Distributed Locks and Master Election in Mongo

License:GNU Lesser General Public License v3.0


Languages

Language:Python 92.4%Language:Makefile 7.6%