Consensus Algorithms: Byzantine Faults vs. Scalability
While Paxos and Raft achieve crash-fault tolerance (CFT) by requiring a majority of `2f+1` nodes to tolerate `f` failures, Byzantine Fault Tolerant (BFT) algorithms like PBFT, though handling malicious nodes, suffer from `O(n^2)` message complexity, severely limiting their scalability to around 20 agents.
The top 3
- Byzantine Generals' Problem: The Foundational Challenge: First introduced in 1982 by Leslie Lamport, Robert Shostak, and Marshall Pease, this thought experiment formalized the core dilemma of achieving consensus among distributed, potentially malicious actors with unreliable communication, setting the stage for Byzantine Fault Tolerance (BFT) research.
- Top 3 High-Throughput BFT Consensus Protocols: HotStuff and Tendermint are leading BFT protocols known for high throughput; HotStuff, used in LibraBFT, achieves linear communication complexity and uses pipelining for speed, while Tendermint offers instant finality and processes thousands of transactions per second, significantly more than Bitcoin or Ethereum 1.0. Mir-BFT further enhances throughput by using a multi-leader, parallel consensus approach.
- Evolution of Scalable BFT: Overcoming Communication Bottlenecks: Early BFT protocols like Practical Byzantine Fault Tolerance (PBFT) faced scalability limits due to quadratic communication complexity, particularly during leader changes. Modern BFT designs, exemplified by HotStuff, introduced innovations like pipelining and linear communication for leader failover, while multi-leader approaches, such as Mir-BFT, further enhance scalability by parallelizing consensus instances.
Sources
Open the full topic