Raft and Paxos solve the identical problem, getting a cluster of nodes to agree on a sequence of values despite crashes and message delays, but they reached the software industry through very different paths. Paxos came first, in Leslie Lamport's 1998 paper, and is mathematically elegant but famously difficult to translate into a correct, complete implementation. Raft arrived in 2014 with an explicit design goal: be just as correct as Paxos while being understandable enough that engineers could implement and reason about it without a distributed-systems background. That difference in approachability, more than any performance gap, is why Raft now powers most new consensus-dependent infrastructure.
How they differ
| Aspect |
Paxos |
Raft |
| Published |
1998 (Lamport) |
2014 (Ongaro and Ousterhout) |
| Design goal |
Formal correctness, generality |
Correctness plus understandability |
| Structure |
Single-decree, extended informally to logs via Multi-Paxos |
Explicitly designed around a replicated log from the start |
| Leader concept |
Implicit, a distinguished proposer, not required |
Explicit, strong leader required for normal operation |
| Roles |
Proposers, acceptors, learners |
Leader, follower, candidate |
| Ease of correct implementation |
Notoriously hard, many subtle variants |
Deliberately decomposed to be implementable |
| Common implementations |
Google Chubby, Google Spanner's replication layer |
etcd, Consul, CockroachDB, TiKV |
The core mechanism, side by side
Both algorithms converge on a similar shape once you need a replicated log rather than a single decided value, because a stable leader driving sequential replication is simply the practical way to get high throughput out of either protocol:
Paxos (Multi-Paxos in practice):
1. A proposer becomes the de facto leader for a range of log slots
2. Leader proposes a value for the next slot, acceptors ack
3. Once a majority acks, the value is chosen; leader moves to next slot
Raft:
1. A candidate wins an election (majority vote) and becomes leader for a "term"
2. Leader appends entries to its log, replicates to followers
3. Once a majority has the entry, it's committed; leader advances
The conceptual overlap is real. Raft is often described as Multi-Paxos with the leader made explicit and the whole protocol specified as one coherent piece, rather than a genuinely different algorithm. The practical difference is that Raft's spec is written so that "how do I actually build this" has one clear answer, where Multi-Paxos leaves that translation to the implementer.
How to choose
- Building new infrastructure from scratch? Use Raft, or better, an existing Raft library, rather than either algorithm from a paper. This is the practical default in 2026.
- Integrating with a system that already uses Paxos internally? You inherit that choice; there's rarely a reason to swap consensus algorithms under a running system.
- Need something other than a replicated log, such as single-value consensus for a one-off coordination decision? Classic Paxos's simplicity for a single decided value is a closer conceptual fit, though in practice most teams still reach for a Raft-based store for this too.
- Evaluating a database or lock service's internals? Check which it uses as a signal of maturity and community size. Raft-based tools currently have a larger open-source ecosystem to draw on for tooling and troubleshooting.
Common mistakes
Assuming Paxos is obsolete. It isn't; it underlies Google's Chubby lock service and parts of Spanner's replication stack, among other heavily used systems. Raft's popularity is about implementability for new projects, not a correctness advantage over Paxos.
Implementing either algorithm from scratch for a production system. Both have a well-documented history of subtly incorrect implementations. Use a maintained library and spend your engineering effort elsewhere.
Treating the choice as a performance decision. In practice, both achieve similar throughput and latency characteristics for equivalent cluster sizes and network conditions. The real-world difference is implementation risk and ecosystem maturity, not raw speed.
Ignoring that both still need an odd-sized majority quorum. Neither algorithm escapes the fundamental math of consensus; you still need ⌊n/2⌋+1 nodes available to make progress.
FAQ
Is Raft just simplified Paxos?
Not exactly simplified. It's a different, complete specification designed around the same guarantees as Multi-Paxos, but structured from the ground up to be implementable without the ambiguity that plagued informal Multi-Paxos descriptions.
Which one should I use for a new project?
Raft, via an existing library, for nearly all new infrastructure. It has a larger ecosystem, clearer specification, and more available tooling in 2026 than raw Paxos implementations.
Does Raft perform worse than Paxos because it requires a strong leader?
No meaningful difference in practice. Multi-Paxos also settles on a stable leader for throughput in real deployments; Raft just makes that requirement explicit from the start instead of layering it on informally.
How does either relate to leader election?
Leader election is a sub-problem both solve internally. Raft's is explicit and named as part of the protocol; see leader election explained for the mechanism in isolation.
Where to go next