Closed ytgui closed 4 years ago
Consensus typically arises in the context of replicated state machines (多状态机场景), each server has a state machine and a log.
The state machine is the component that we want to make fault-tolerant, such as a hash table.
In client side, server is a single realiable state machine.
A consensus algorithm is used to agree on the commands in the servers' logs.
joint consensus
approach allow cluster to continue operating normally during configuration changes.
https://raft.github.io/ https://raft.github.io/raft.pdf