Skip to main content
QUICK REVIEW

[Paper Review] The Performance of Paxos and Fast Paxos

Gustavo M. D. Vieira, Luiz Eduardo Buzato|arXiv (Cornell University)|Aug 6, 2013
Distributed systems and fault toleranceComputer Science14 references5 citations
TL;DR

This paper experimentally compares Paxos and Fast Paxos in LAN environments using the Treplica toolkit, finding that Paxos outperforms Fast Paxos for small replica counts due to reduced network load and fewer timeout errors, not collisions. The single coordinator in Paxos provides stability, while Fast Paxos suffers from timing sensitivity and higher coordination overhead despite its theoretical low-latency design.

ABSTRACT

Paxos and Fast Paxos are optimal consensus algorithms that are simple and elegant, while suitable for efficient implementation. In this paper, we compare the performance of both algorithms in failure-free and failure-prone runs using Treplica, a general replication toolkit that implements these algorithms in a modular and efficient manner. We have found that Paxos outperforms Fast Paxos for small number of replicas and that collisions are not the cause of this performance difference.

Motivation & Objective

  • To empirically evaluate the performance of Paxos and Fast Paxos in real LAN environments, moving beyond theoretical assumptions.
  • To identify the root causes of performance differences between Paxos and Fast Paxos, particularly in failure-free and failure-prone scenarios.
  • To assess whether theoretical advantages of Fast Paxos—such as lower latency—translate into practical benefits under realistic network conditions.
  • To investigate the role of quorum sizes, message collisions, and coordinator behavior in influencing consensus performance.
  • To evaluate system resilience and recovery behavior under replica failures, especially for the coordinator role.

Proposed method

  • Implemented both Paxos and Fast Paxos within Treplica, a modular replication toolkit designed for performance instrumentation and measurement.
  • Designed experiments to observe protocol behavior under controlled conditions, focusing on message ordering, latency, quorum sizes, and collisions.
  • Measured performance metrics including consensus latency, number of messages exchanged, and retry rates due to timeouts.
  • Conducted failure injection experiments to evaluate recovery times and system resilience, particularly for coordinator and non-coordinator replicas.
  • Used a LAN-based testbed to simulate real-world network characteristics and isolate performance bottlenecks.
  • Contrasted observed behavior with theoretical prescriptions to identify discrepancies between theory and practice.

Experimental results

Research questions

  • RQ1Does Fast Paxos achieve lower consensus latency than Paxos in real LAN environments, as predicted by theory?
  • RQ2What are the primary factors causing performance differences between Paxos and Fast Paxos in practice?
  • RQ3How do network timing variations and message loss affect the performance of Fast Paxos compared to Paxos?
  • RQ4To what extent do quorum sizes and message collisions influence the relative performance of the two algorithms?
  • RQ5How does the failure and recovery behavior of the coordinator replica impact overall system performance in Paxos and Fast Paxos?

Key findings

  • Paxos outperforms Fast Paxos in terms of consensus latency when the number of replicas is small, contrary to theoretical expectations favoring Fast Paxos.
  • The performance advantage of Paxos is not due to message collisions, but rather due to the stability provided by a single coordinator, which reduces timeout errors and retry rates.
  • Fast Paxos suffers from timing sensitivity and higher network load due to uncoordinated proposers, leading to increased message volume and latency despite its optimistic design.
  • The coordinator in Paxos is less prone to failure-induced retries and maintains consistent performance, while Fast Paxos experiences higher instability under variable network conditions.
  • Recovery times for failed replicas are significantly longer for the coordinator than for regular replicas, with the coordinator’s larger in-memory state increasing recovery latency.
  • Despite requiring larger quorums, Fast Paxos does not offer a practical advantage in fault tolerance, as Paxos achieves equivalent resilience with fewer replicas (e.g., 7 vs. 12 for 3-failure tolerance).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.