[Paper Review] Practical Experience Report: The Performance of Paxos in the Cloud
This paper evaluates the performance of four open-source Paxos implementations—S-Paxos, OpenReplica, Ring Paxos, and Libpaxos—under diverse cloud conditions in Amazon EC2, revealing that standard Paxos libraries exhibit bursty behavior and severe performance degradation during failures, especially in heterogeneous or geographically distributed environments. The study identifies that protocols relying on a fast majority (e.g., Libpaxos) suffer long delays when fast nodes fail, while those involving all participants (e.g., Ring Paxos) maintain better fault tolerance at the cost of reduced peak performance, and proposes optimizations to stabilize Libpaxos behavior.
This experience report presents the results of an extensive performance evaluation conducted using four open-source implementations of Paxos deployed in Amazon's EC2. Paxos is a fundamental algorithm for building fault-tolerant services, at the core of state-machine replication. Implementations of Paxos are currently used in many prototypes and production systems in both academia and industry. Although all protocols surveyed in the paper implement Paxos, they are optimized in a number of different ways, resulting in very different behavior, as we show in the paper. We have considered a variety of configurations and failure-free and faulty executions. In addition to reporting our findings, we propose and assess additional optimizations to existing implementations.
Motivation & Objective
- To evaluate the real-world performance of four open-source Paxos implementations under realistic cloud conditions, including failures and network heterogeneity.
- To identify how performance varies across different configurations—homogeneous, heterogeneous, and cross-availability-zone deployments—common in cloud services.
- To investigate why some Paxos implementations exhibit bursty throughput and long decision delays, especially after node failures.
- To propose and assess optimizations to stabilize performance, particularly for Libpaxos, ensuring consistent behavior under stress.
- To guide system designers in selecting appropriate Paxos variants based on deployment environment and reliability requirements.
Proposed method
- Deployed four open-source Paxos libraries—S-Paxos, OpenReplica, Ring Paxos, and Libpaxos—on Amazon EC2 to evaluate performance under controlled and failure-induced conditions.
- Conducted experiments across three configurations: homogeneous nodes in one AZ, heterogeneous nodes in one AZ, and homogeneous nodes across multiple AZs.
- Measured performance under varying message sizes and with both failure-free and failure-prone executions to assess stability and throughput.
- Analyzed message processing behavior, particularly backlog accumulation at slow acceptors, and evaluated flow control mechanisms across implementations.
- Proposed and evaluated an optimization to Libpaxos to reduce message backlog and stabilize decision rates during failure scenarios.
- Classified protocols based on their quorum strategy: those using all participants (Ring Paxos, S-Paxos) versus those relying on a fast majority (Libpaxos, OpenReplica).
Experimental results
Research questions
- RQ1How do different Paxos implementations behave under failure-free and failure-prone conditions in cloud environments?
- RQ2What performance degradation patterns emerge when fast acceptors fail in a heterogeneous quorum?
- RQ3Why do some Paxos implementations exhibit bursty throughput, and how does this affect application-level performance?
- RQ4How does message backlog at slow acceptors impact decision latency and system stability?
- RQ5Can optimizations to existing Paxos implementations, such as Libpaxos, reduce performance variability and improve fault tolerance?
Key findings
- Libpaxos and OpenReplica exhibit bursty performance and can stall completely after a fast acceptor failure, with decision rates dropping to zero.
- S-Paxos and Ring Paxos maintain progress after failures by involving all participants, but suffer from reduced peak performance due to load balancing across all nodes.
- In heterogeneous configurations, protocols relying on a fast majority (e.g., Libpaxos) perform well under normal conditions but degrade severely when fast nodes fail.
- The performance of all implementations degrades significantly when slow acceptors are forced into a quorum, due to accumulated message backlogs that delay decision processing.
- Libpaxos +, an optimized variant, reduces performance variability by avoiding message backlog accumulation, showing improved stability without sacrificing correctness.
- The study demonstrates that protocol behavior is highly sensitive to deployment characteristics, and that protocol selection must align with environmental constraints such as node heterogeneity and network topology.
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.