Paxos

Raft

在线动画演示算法:http://thesecretlivesofdata.com/raft/

Follower:所有节点的默认角色,起始就是 Follower
Candidate:从 Follower 变成 Candidate 准备竞选 Leader
Leader:一个系统中是唯一的,Leader 才能发起写操作

ZAB