Skip to content
/ mcp Public

Master Consensus Protocol - broadcast voting protocol based on RAFT

Notifications You must be signed in to change notification settings

contrem/mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master Consensus Protocol


Broadcast voting protocol based on RAFT.

Two import values:

heartbeat : Time in milliseconds between heartbeat messages

election-timeout : Time in milliseconds before starting a new election

Example:

virtualenv -p python3 env
source env/bin/activate
python setup install

# failover example optionally runs a command when transitioning between Follower and Master
./examples/failover --help

# on two nodes run
./examples/failover --nodes 2 --verbose --up echo --down echo

About

Master Consensus Protocol - broadcast voting protocol based on RAFT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages