+
Skip to content

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载