The Raft Consensus Algorithm
"Raft achieves distributed consensus on a replicated log by electing a single leader per term who unilaterally manages log replication to followers."
"Raft achieves distributed consensus on a replicated log by electing a single leader per term who unilaterally manages log replication to followers."
Raft, introduced by Diego Ongaro and John Ousterhout in their 2014 paper "In Search of an Understandable Consensus Algorithm," keeps a replicated log consistent across a cluster of servers so they can implement the same replicated state machine. It was explicitly designed as an easier-to-understand alternative to Paxos while providing equivalent correctness and efficiency.
Rated Empirical: grounded in studies or measurable evidence. The other 608.
Raft decomposes consensus into three subproblems: leader election (servers use randomised timeouts to become candidates and win a leader role via majority vote for a numbered "term"), log replication (the leader appends client commands to its log and replicates them, committing once a majority store an entry), and safety (rules ensuring a newly elected leader holds all previously committed entries). Servers act as leader, follower, or candidate, and leader heartbeats prevent unnecessary elections.
Raft’s emphasis on understandability made distributed consensus far more accessible to engineers and students than Paxos had been, a user study in the original paper found students learned Raft more easily, driving its rapid, widespread adoption in production infrastructure.
Raft is not Byzantine fault tolerant (it assumes servers fail by stopping, not by acting maliciously) and it relies on a single leader per term, which can create a temporary availability gap during elections and a throughput bottleneck since all writes flow through one node.
Raft is sometimes assumed to guarantee strict linearizable reads from any replica without qualification; in practice safe linearizable reads require additional mechanisms such as leader leases or read-index checks, and its guarantees apply only under its non-Byzantine failure model.
Yes, as far as the evidence goes. The Raft Consensus Algorithm is rated Empirical here: it rests on studies or measurements rather than on a saying.
Rated from two sources. 609 of the 1,116 entries carry this rating. How the scale works.
The best-known laws are the least likely to rest on measurement.
Devised by Diego Ongaro and John Ousterhout of Stanford University; the paper was presented at USENIX ATC 2014 and received a Best Paper Award.
Everything above traces to en.wikipedia.org and web.stanford.edu, two sources in all, one of them the original publication rather than an account of it. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.