Skip to content

Distributed Locks and Master Election in Mongo

License

Notifications You must be signed in to change notification settings

zebpalmer/MongoElector

Repository files navigation

MongoElector

Join the chat at https://gitter.im/zebpalmer/MongoElector Code Health Documentation Status https://api.codacy.com/project/badge/Grade/9b0eca961d57462aac560bbee862eee7

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published