[Paper Review] The Weakest Failure Detector for Eventual Consistency
This paper identifies the weakest failure detector required for implementing eventual consistency in message-passing systems: the eventual leader failure detector Ω. It proves that Ω is both necessary and sufficient for eventual total order broadcast and eventual consensus, establishing that the only computational difference between strong and eventual consistency lies in the additional Σ failure detector required for strong consistency, not Ω. The result holds universally across all failure assumptions, not just in systems with a majority of correct processes.
In its classical form, a consistent replicated service requires all replicas to witness the same evolution of the service state. Assuming a message-passing environment with a majority of correct processes, the necessary and sufficient information about failures for implementing a general state machine replication scheme ensuring consistency is captured by the Ω failure detector. This paper shows that in such a message-passing environment, Ω is also the weakest failure detector to implement an eventually consistent replicated service, where replicas are expected to agree on the evolution of the service state only after some (a priori unknown) time. In fact, we show that Ω is the weakest to implement eventual consistency in any message-passing environment, i.e., under any assumption on when and where failures might occur. Ensuring (strong) consistency in any environment requires, in addition to Ω, the quorum failure detector Σ. Our paper thus captures, for the first time, an exact computational difference be- tween building a replicated state machine that ensures consistency and one that only ensures eventual consistency.
Motivation & Objective
- To determine the minimal failure detector information required to implement eventual consistency in distributed systems.
- To formally distinguish the computational requirements between strong consistency and eventual consistency in message-passing environments.
- To establish that Ω is the weakest failure detector for eventual consistency, even without assuming a majority of correct processes.
- To show that the only difference between strong and eventual consistency lies in the need for the quorum failure detector Σ.
Proposed method
- The authors introduce the abstraction of eventual total order broadcast (ETOB), which generalizes total order broadcast to allow eventual agreement on message ordering.
- They define eventual consensus (EC) as a relaxation of consensus where agreement is reached only after a finite, unknown stabilization period.
- Using a generalized version of the CHT proof technique, they analyze valency in locally simulated runs to prove the necessity of Ω for EC.
- They prove equivalence between ETOB and EC, showing that ETOB is sufficient for implementing eventually consistent replicated state machines.
- They formally compare ETOB and EC with linearizability and eventual linearizability, showing that Ω is also the weakest detector for eventual linearizability in message-passing systems.
- They analyze the time complexity gap, showing that ETOB completes in two communication steps, while strong consistency requires three.
Experimental results
Research questions
- RQ1What is the weakest failure detector required to implement eventual consistency in a message-passing system?
- RQ2How does the computational cost of eventual consistency compare to that of strong consistency in terms of failure detector requirements?
- RQ3Is Ω sufficient for eventual consistency even in systems without a majority of correct processes?
- RQ4What is the exact difference between strong and eventual consistency in terms of failure detection assumptions?
- RQ5Can eventual linearizability be achieved with the same failure detector as eventual consistency?
Key findings
- Ω is the weakest failure detector required to implement eventual total order broadcast (ETOB), which ensures eventual agreement on message ordering.
- The paper proves that Ω is both necessary and sufficient for eventual consensus (EC), even in arbitrary failure environments without a majority assumption.
- The only additional failure detector needed for strong consistency is Σ, which provides intersecting quorums that eventually contain only correct processes.
- The computational gap between strong and eventual consistency is precisely captured by Σ: Ω alone suffices for eventual consistency, while Ω+Σ is required for strong consistency.
- In terms of communication complexity, ETOB completes in two message steps, while strong consistency requires three, highlighting a one-step advantage for eventual consistency.
- The results imply that Ω is also the weakest failure detector for eventual linearizability in message-passing systems, complementing prior results in shared-memory models.
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.