[Paper Review] XFT: Practical Fault Tolerance Beyond Crashes
This paper introduces XFT (cross fault tolerance), a novel fault-tolerance model that enables practical Byzantine fault tolerance without additional resource costs by leveraging synchronous communication among a majority of replicas. XPaxos, the first XFT state-machine replication protocol, achieves CFT-level performance while tolerating Byzantine faults and network asynchrony, outperforming both CFT and BFT protocols in real-world geo-replicated deployments with up to 5 nines of availability.
Despite years of intensive research, Byzantine faulttolerant (BFT) systems have not yet been adopted in practice. This is due to additional cost of BFT in terms of resources, protocol complexity and performance, compared with crash fault-tolerance (CFT). This overhead of BFT comes from the assumption of a powerful adversary that can fully control not only the Byzantine faulty machines, but at the same time also the message delivery schedule across the entire network, effectively inducing communication asynchrony and partitioning otherwise correct machines at will. To many practitioners, however, such strong attacks appear irrelevant. In this paper, we introduce cross fault tolerance or XFT, a novel approach to building reliable and secure distributed systems and apply it to the classical state-machine replication (SMR) problem. In short, an XFT SMR protocol provides the reliability guarantees of widely used asynchronous CFT SMR protocols such as Paxos and Raft, but also tolerates Byzantine faults in combination with network asynchrony, as long as a majority of replicas are correct and communicate synchronously. This allows the development of XFT systems at the price of CFT (already paid for in practice), yet with strictly stronger resilience than CFT — sometimes even stronger than BFT itself. As a showcase for XFT, we present XPaxos, the first XFT SMR protocol. Although it offers much stronger resilience than CFT SMR at no extra resource cost, the performance of XPaxos matches that of the state-of-the art CFT protocols.
Motivation & Objective
- To address the practical gap in deploying Byzantine fault-tolerant (BFT) systems despite decades of research.
- To reduce the perceived overhead of BFT by relaxing the assumption of a fully coordinated adversary that controls both faulty replicas and network behavior.
- To design a fault-tolerance model that provides stronger resilience than crash fault tolerance (CFT) without increasing resource costs.
- To demonstrate that XFT can offer higher reliability than both CFT and BFT under realistic failure models.
- To validate the performance and availability of XFT through deployment of XPaxos in a global, geo-replicated environment.
Proposed method
- Introduce XFT, a fault-tolerance model that tolerates Byzantine faults and network asynchrony as long as a majority of replicas remain correct and communicate synchronously.
- Design XPaxos, the first XFT state-machine replication protocol, using 2t+1 replicas—same as CFT—while ensuring safety and liveness under Byzantine faults.
- Leverage the assumption that network partitions and Byzantine faults are not simultaneously coordinated, reducing the need for 3t+1 replicas required by traditional BFT.
- Integrate XPaxos into Apache ZooKeeper to evaluate real-world performance in a production-like environment across Amazon EC2 data centers.
- Use probabilistic availability analysis to compare XFT with CFT and BFT under independent, identically distributed fault models.
- Conduct end-to-end evaluation measuring throughput and latency in a WAN-optimized, geo-replicated deployment.
Experimental results
Research questions
- RQ1Can a fault-tolerance model be designed that provides stronger resilience than CFT without increasing resource costs?
- RQ2Does relaxing the adversary model—specifically, assuming that network partitions and Byzantine faults are not simultaneously coordinated—enable practical BFT with CFT-level performance?
- RQ3Can a protocol achieve higher availability than both CFT and BFT under realistic failure distributions?
- RQ4Is it possible to build a BFT protocol that matches the performance of state-of-the-art CFT protocols like Paxos in real-world deployments?
- RQ5How does the availability of XFT compare to CFT and BFT when faults are modeled as independent, identically distributed random variables?
Key findings
- XPaxos achieves 5 nines of availability (99.999%) in the t=1 case when machine availability is 0.999 and benign fault rate is 0.99999, adding one nine of availability over CFT.
- For t=1, XPaxos provides the same number of nines of availability as BFT, but with 2t+1 replicas instead of 3t+1.
- For t=2, XPaxos adds one nine of availability over BFT, achieving 3×9available−1 nines, while BFT achieves only 3×9available−2 nines.
- In geo-replicated EC2 deployments, XPaxos matches the throughput and latency of a WAN-optimized Paxos variant and significantly outperforms the best available BFT protocols.
- XPaxos outperforms the native CFT SMR protocol in Apache ZooKeeper, demonstrating practical viability in real-world coordination services.
- The analysis shows that XPaxos offers strictly stronger reliability guarantees than BFT under the assumption of independent, identically distributed faults, particularly when t≥2.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.