The Raft Consensus Algorithm
CONTENTS
- What is Raft ?
- Appliacation ...
- Let us Play it !
What is Raft?
- consensus algorithm
- equivalent to Paxos
- designed to be easy to understand
Raft User Study
Raft Overview
Leader election
- Select one of the servers to act as cluster leader
- Detect crashes, choose new leader
Log replication
- Leader takes commands from clients, appends them to its log
- Leader replicates it log to other servers
Safety
- Only a server with an up-to-date log can become leader
Application
- Consensus algorithm
- Consensus service