Home Knowledge Base Distributed Consensus

Distributed Consensus is the fundamental problem of getting multiple distributed nodes to agree on a single value or sequence of values — despite node failures and network partitions, enabling fault-tolerant distributed systems.

The Consensus Problem

Paxos (Lamport, 1989)

Two phases:

Phase 1 (Prepare):

Phase 2 (Accept):

Raft (Ongaro & Ousterhout, 2014)

Designed for understandability:

Leader Election:

Log Replication:

Properties:

Fault Tolerance

Real-World Implementations

Distributed consensus is the theoretical foundation of reliable distributed systems — every fault-tolerant database, distributed cache, and cluster coordinator relies on consensus protocols to maintain consistency in the presence of failures, making Raft the essential algorithm for modern cloud infrastructure.

distributed consensusraft algorithmpaxos consensusleader election distributedconsensus protocol

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.