[Paper Review] Leaderless State-Machine Replication: Specification, Properties, Limits
This paper introduces a formal framework for leaderless state-machine replication (SMR), identifying a fundamental trade-off between performance and reliability in protocols that achieve optimal latency and load balancing. It proves that ROLL-optimal protocols—those satisfying Reliability, Optimal Latency, and Load Balancing—must obey the inequality 2F + f − 1 ≤ n, which inherently causes a chaining effect that increases tail latency, explaining observed performance degradation in systems like EPaxos.
Modern Internet services commonly replicate critical data across several geographical locations using state-machine replication (SMR). Due to their reliance on a leader replica, classical SMR protocols offer limited scalability and availability in this setting. To solve this problem, recent protocols follow instead a leaderless approach, in which each replica is able to make progress using a quorum of its peers. In this paper, we study this new emerging class of SMR protocols and states some of their limits. We first propose a framework that captures the essence of leaderless state-machine replication (Leaderless SMR). Then, we introduce a set of desirable properties for these protocols: (R)eliability, (O)ptimal (L)atency and (L)oad Balancing. We show that protocols matching all of the ROLL properties are subject to a trade-off between performance and reliability. We also establish a lower bound on the message delay to execute a command in protocols optimal for the ROLL properties. This lower bound explains the persistent chaining effect observed in experimental results.
Motivation & Objective
- To formalize the design and behavior of leaderless state-machine replication (SMR) protocols, which avoid leader bottlenecks in geo-distributed systems.
- To identify and define a set of desirable properties—Reliability, Optimal Latency, and Load Balancing (ROLL)—for leaderless SMR protocols.
- To analyze the inherent trade-offs between performance and fault tolerance in ROLL-achieving protocols.
- To explain the persistent chaining effect observed in experimental results, particularly in EPaxos, using a formal lower bound on message delay.
Proposed method
- Proposes a modular framework decomposing leaderless SMR into two core components: a dependency discovery service (DDS) and a consensus service.
- Introduces the concept of a 'fast path' quorum (size n − F) that enables low-latency execution when no conflicts exist.
- Defines the ROLL properties as a formal set of desired protocol characteristics: Reliability, Optimal Latency, and Load Balancing.
- Derives the ROLL theorem: 2F + f − 1 ≤ n, which establishes a necessary condition for protocols to achieve all ROLL properties.
- Analyzes the chaining effect as a consequence of the ROLL theorem, showing it causes increased tail latency in contention scenarios.
- Uses a formal model of message delay and quorum constraints to derive a lower bound on command execution time in ROLL-optimal protocols.
Experimental results
Research questions
- RQ1What formal properties define a high-quality leaderless SMR protocol, and how can they be systematically characterized?
- RQ2Is it possible to simultaneously achieve reliability, optimal latency, and load balancing in leaderless SMR, and if so, under what constraints?
- RQ3What fundamental trade-offs limit the performance of leaderless SMR protocols that satisfy the ROLL properties?
- RQ4Why do protocols like EPaxos exhibit high tail latency under increasing conflict rates, and can this be formally explained?
- RQ5What is the theoretical lower bound on message delay for ROLL-optimal leaderless SMR protocols?
Key findings
- The ROLL theorem establishes that any leaderless SMR protocol achieving Reliability, Optimal Latency, and Load Balancing must satisfy 2F + f − 1 ≤ n, where n is the total number of replicas, f is the maximum tolerated failures, and F is the fast path quorum size.
- Protocols that are ROLL-optimal—meaning F and f cannot be improved under the ROLL theorem—necessarily suffer from a chaining effect that increases tail latency.
- The chaining effect arises because conflicting commands must be ordered sequentially through dependency chains, even in the absence of network delays.
- The theoretical lower bound on message delay for ROLL-optimal protocols is four message delays in the worst case, which matches the observed behavior in EPaxos under high conflict rates.
- The performance degradation in EPaxos under increasing conflict rates is explained by this chaining effect, not by network latency alone.
- Mencius, which does not achieve ROLL properties, avoids this chaining effect and thus exhibits lower tail latency, confirming the theory.
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.