title: The Raft Consensus Algorithm speaker: aaron theme: light transition: slide2 headFiles: /static/css/light.css
[slide]
[slide]
- What is Raft ?
- Appliacation ...
- Let us Play it !
[slide]
- consensus algorithm
- equivalent to Paxos
- designed to be easy to understand
[slide]
[slide]
-
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
[slide]
- Consensus algorithm
- Paxos 、 Raft
- Consensus service
- Zookeeper 、 etcd
[slide]
[slide]
<style> .current{ padding: 0px; } .slide-wrapper{ max-width: 1200px !important; } iframe{ height: 700px !important; } </style> <iframe src="http://thesecretlivesofdata.com/raft/"></iframe>