ytgui / temp

0 stars 0 forks source link

raft #94

Closed ytgui closed 4 years ago

ytgui commented 4 years ago

https://raft.github.io/ https://raft.github.io/raft.pdf

ytgui commented 4 years ago

Raft

Consensus

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.

ytgui commented 4 years ago

Raft

Introduction

Replicated state machines problem