March 2020
Intermediate to advanced
626 pages
14h 45m
English
The RAFT protocol was designed by Diego Ongaro and John Ousterhout from Standford University in 2014 – In Search of an Understandable Consensus Algorithm. It is a fairly new protocol. The etcd (https://etcd.io) protocol that's used in Kubernetes and CockroachDB
(https://github.com/cockroachdb) is a good example of RAFT implementation along with HashiCorp's Consul
.
The RAFT protocol in Consul is used to elect a leader from three or five servers that run in a data center. Every node using RAFT can have three states: leader, follower, and candidate. Here, the following steps are taken:
Read now
Unlock full access