Definition
A consensus algorithm: elect a leader, replicate a log to a majority.
How it works
Understandable Paxos. Any two majorities overlap, so it stays safe under partitions — only the majority side makes progress. Powers etcd, Consul, CockroachDB.
Common questions
What is Raft?
A consensus algorithm: elect a leader, replicate a log to a majority.
How does Raft work?
Understandable Paxos. Any two majorities overlap, so it stays safe under partitions — only the majority side makes progress. Powers etcd, Consul, CockroachDB.
What is Raft used for in system design?
Understandable Paxos. Any two majorities overlap, so it stays safe under partitions — only the majority side makes progress. Powers etcd, Consul, CockroachDB.
Part of Glossary on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Build this one →