The FLP Impossibility Result

The FLP result shows that deterministic consensus cannot guarantee termination in a fully asynchronous message-passing system with one possible crash failure.

published: reading time: 19 min read author: Geek Workbench updated: November 12, 2026
Quick Summary

The FLP result says no deterministic consensus protocol can guarantee termination in every execution of a fully asynchronous message-passing system where one process may crash. It does not say that consensus never happens: some executions decide, while an adversarial schedule can keep a protocol undecided. Randomized protocols and systems that assume eventual timing bounds make different liveness guarantees. Spanner's TrueTime uses bounded clock uncertainty to support externally consistent transactions; it does not refute FLP.

Introduction

In 1985, Fischer, Lynch, and Paterson showed that a deterministic consensus protocol cannot guarantee termination in every execution of a fully asynchronous message-passing system when even one process may crash. The result is known as FLP, after the authors’ initials. The original paper assumes reliable message delivery to processes that keep running, but gives no upper bound on message delays or process speeds.

The theorem is a limit on guarantees in that model. It does not say that no process can ever decide; it says there is an admissible execution in which termination is not guaranteed. Timing assumptions or randomness change the model or the guarantee being asked for.

The Setup

The FLP result concerns deterministic protocols in an asynchronous message-passing system with these properties:

  • Processes communicate by messages, with no known upper bound on message delay or process speed
  • Messages to a process that keeps running are eventually delivered, but may take arbitrarily long
  • At most one process may fail by stopping (a crash-stop failure); Byzantine behavior is outside the original model
  • There are no synchronized clocks or reliable timeouts for detecting a crash

Without timing bounds, a process cannot reliably distinguish a crashed peer from one that is merely slow.

What Consensus Requires

Consensus algorithms typically require three properties:

  1. Agreement: All non-faulty processes decide on the same value
  2. Validity: The decided value must have been proposed by some process
  3. Termination: All non-faulty processes eventually decide

FLP shows that no deterministic protocol can guarantee termination in every admissible execution while preserving agreement and validity, even if at most one process may crash. Some executions can decide; the impossibility is about guaranteeing a decision in all executions allowed by the model.

graph TB
    subgraph "FLP Model"
        P1[Process 1]
        P2[Process 2]
        P3[Process 3]
        M1[Message Queue]
        M2[Message Queue]
        M3[Message Queue]

        P1 --> M2
        P2 --> M1
        P2 --> M3
        P3 --> M1
        P3 --> M2
    end

    Note(("No timeouts<br/>Messages delayed<br/>but eventually<br/>delivered"))

The Core Insight

The proof constructs an admissible schedule of process steps and message deliveries. It keeps the execution in configurations where the decision is still unresolved. Messages to processes that keep running are eventually delivered, but the model allows delays of any finite length and sets no timing bound.

The key is that, without timing bounds, a process cannot know whether a peer has crashed or is slow. The schedule uses that uncertainty to preserve a possible path to either decision for long enough to construct a nonterminating execution.

Bivalent configurations

The proof hinges on bivalent configurations. A configuration is bivalent when some possible continuation leads to decision 0 and another leads to decision 1. It does not mean that processes have already decided conflicting values. The proof constructs an admissible execution that stays bivalent and never reaches a decision.

This is a proof technique, not a claim that every execution gets stuck or that a process can never decide.

How the scheduler keeps a run undecided

For a binary consensus problem, a bivalent configuration has possible continuations to either decision value. FLP begins with such a configuration, then chooses process steps and message deliveries so the next configuration stays bivalent. Repeating that construction produces an execution that never decides.

The scheduler still has to respect the model: every message to a process that keeps running is eventually delivered. It can delay any message for an arbitrary finite time, though, and the model supplies no maximum delay. The construction is about a possible execution, not a claim that every run stays undecided.

What the proof establishes

The FLP proof is not a reduction to Byzantine agreement. It starts with a deterministic protocol that preserves agreement and validity, then constructs an admissible execution in which no process decides. The construction relies on unbounded message delays and the possibility of one crash-stop failure. That is why the theorem is about a missing termination guarantee in this model, not a ban on consensus or on decisions in individual runs.

What This Means Practically

FLP does not mean consensus is impossible. It limits the termination guarantees available to deterministic protocols in the fully asynchronous model:

  • A protocol can preserve agreement and validity, but FLP says it cannot guarantee termination in every admissible execution
  • Timing assumptions can support liveness when those assumptions hold
  • Randomized protocols can offer probabilistic termination guarantees; that is outside the deterministic claim proved by FLP

How systems make progress

Practical systems make assumptions that the fully asynchronous model does not:

Timing assumptions: If message delays and process speeds are eventually bounded, timeouts can help a protocol make progress. In a partial-synchrony model, liveness can be guaranteed after the system stabilizes, subject to the protocol’s other assumptions.

Randomized termination: Some randomized consensus protocols can terminate with probability 1 under their stated assumptions. This is not a deterministic guarantee for every schedule and sequence of random choices.

Leases and failure detectors: These approaches rely on timing bounds or additional assumptions about failure information. They can improve liveness in practice, but those assumptions put them outside the original FLP model.

Real-world Failure Scenarios

FLP is a model result, not a diagnosis for every slow leader or network partition. The examples below show operational problems related to delay and failure detection; the guarantees depend on each system’s protocol and timing assumptions.

Scenario 1: A network partition

Suppose two data centers lose connectivity for 30 seconds. Nodes on each side stop hearing from peers across the partition, but what they do next depends on the protocol and whether either side still has a quorum.

During a partition, nodes cannot tell from missing messages alone whether peers are slow or unreachable. A system that accepts writes independently on both sides can split its state. A quorum-based protocol such as Raft or Paxos instead requires a majority for decisions, so a side without a quorum stops making progress. A permanent partition is outside the FLP paper’s reliable-delivery assumption; a finite partition is one kind of delay, but the theorem alone does not predict how a particular system behaves.

FLP does not say that every finite partition prevents a decision. It says a deterministic protocol cannot guarantee termination across every execution allowed by the fully asynchronous model.

When a partition heals, a system that allowed independent writes must reconcile divergent state. Quorum-based protocols use their own log and commitment rules to keep decisions consistent. FLP does not prescribe a recovery strategy or prove that any particular protocol’s safety properties are the strongest possible.

Scenario 2: A delayed heartbeat in Raft

A Raft leader’s heartbeat or AppendEntries message is delayed. Followers cannot tell whether the leader crashed or is just slow, so their election timers may expire and trigger a new election. The fully asynchronous model gives no upper bound on how long a message may take.

Raft’s term numbers and quorum rules help preserve safety when messages arrive late. They do not guarantee that an election will finish under every asynchronous schedule. In a deployment, progress depends on the network eventually behaving within the timing assumptions used to set election timeouts.

Scenario 3: Clock uncertainty and transaction ordering

Google Spanner’s TrueTime API returns an interval that contains the current time, with a bound on the interval’s uncertainty. Its implementation uses GPS receivers and atomic clocks as time sources. For an externally consistent transaction, Spanner assigns a commit timestamp and uses commit-wait: it waits until TrueTime says that timestamp is definitely in the past before reporting the commit. See the Spanner paper for the design.

TrueTime supplies bounded clock uncertainty, an assumption absent from the fully asynchronous FLP model. Commit-wait uses that bound to support external consistency. It does not detect crashes or prove that deterministic consensus always terminates.

Scenario 4: GC pauses and delayed messages

A long JVM garbage-collection pause can cause heartbeat timeouts to trigger leader elections. To other nodes, a paused leader may look like a crashed one until it resumes.

This resembles the slow-process case in the FLP model, but a GC pause in a particular system is not itself an FLP proof execution. A JVM thread can stop sending heartbeats while followers’ election timers continue; when it resumes, the protocol’s term and log rules determine how stale messages are handled.

Queued messages may be stale when the process resumes, though that is different from messages being reordered by the network. The protocol decides whether the resumed leader’s messages still fit the current term and log.

Raft and Paxos use protocol-specific rules to preserve safety. Whether writes can continue during the pause depends on the cluster and whether a quorum can communicate. FLP gives no time bound for recovery in its asynchronous model; a real deployment’s recovery also depends on its runtime and network.

Scenario 5: Byzantine faults use a different model

The original FLP result assumes crash-stop failures, not Byzantine behavior. PBFT and similar protocols use a different fault model and have their own liveness assumptions, often including timing bounds. The FLP proof does not establish their guarantees.

Partial Synchrony and the Dwork-Lynch Model

FLP assumes a fully asynchronous system with no timing assumptions. What changes if a system can rely on timing bounds?

The Dwork-Lynch model (1988) introduced partial synchrony. In one common version, there is a time after which message delays and process speeds stay within bounds, though the time and bounds may not be known in advance.

graph LR
    subgraph "System Models"
        A[Asynchronous<br/>No timing<br/>assumptions] --> B[Partial Synchrony<br/>Eventually<br/>bounded delay]
        B --> C[Synchronous<br/>Known bounds<br/>always]
    end

With partial synchrony:

  • Before the Global Stabilization Time (GST), no timing bounds are guaranteed
  • After GST, the assumed timing bounds hold
  • A protocol designed for this model can guarantee liveness after GST, subject to its fault and quorum assumptions

Partial synchrony changes the assumptions. It does not contradict FLP’s result for the fully asynchronous model.

Timing assumptions in deployed systems

Paxos and Raft use timeouts to trigger leader changes, but timeouts alone cannot distinguish a failed process from a slow one. Their safety comes from protocol rules such as quorums; liveness depends on assumptions such as eventual communication and enough reachable replicas. Neither protocol refutes FLP, and FLP does not say that every partition or delay prevents progress.

Relationship to CAP

FLP and CAP are related but distinct. CAP concerns consistency and availability during network partitions. FLP concerns whether deterministic consensus can guarantee termination in a fully asynchronous message-passing system with a possible crash failure.

Both involve the difficulty of distinguishing a failed process from a delayed one, but they address different properties and prove different limits.

My post on the CAP Theorem explores these trade-offs in more detail.

Applying the result

When a protocol claims liveness, check what it assumes about message delays, clocks, and failures. FLP tells you what a deterministic protocol cannot promise if none of those timing bounds exist.

Later work studies consensus under other assumptions, including partial synchrony, Byzantine failures, and different communication models. Each result has its own conditions.

Paxos and Raft are useful precisely because they make progress under assumptions that the FLP model omits. The theorem gives a boundary for deterministic protocols in the fully asynchronous model.

Trade-off Comparison Table

The table compares the guarantees different approaches can make under their stated models:

Approach System Model Safety Liveness Failure Handling Practical Example
FLP lower bound Fully async Safety and validity required Deterministic termination not guaranteed At most one crash-stop failure Original paper
Paxos Partial Sync Yes Yes* Crash-stop Chubby, Zookeeper
Raft Partial Sync Yes Yes* Crash-stop etcd, CockroachDB
Ben-Or (Randomized) Fully Async Yes Probabilistic Crash-stop Theoretical interest
PBFT Partial Sync Yes Yes* Byzantine Zyzzyva, BFT-SMaRt
Dwork-Lynch Partial Sync Yes Yes* Crash-stop Most production systems

*Liveness guaranteed only after the system stabilizes (GST in partial-synchrony models), assuming the protocol’s fault and quorum conditions hold. The FLP row states a lower bound, not an algorithm.

Quick Recap Checklist

Before diving into implementation or deeper theory, verify your understanding of these core FLP concepts:

  • FLP concerns deterministic consensus in a fully asynchronous message-passing system with one possible crash-stop failure
  • Bivalent states are states where the final decision depends on future message ordering
  • FLP constructs an admissible execution in which the protocol does not terminate; it does not say every execution gets stuck
  • The theorem does not say no process can ever decide, and it does not rule out randomized termination
  • Partial synchrony adds timing assumptions that can support liveness after the system stabilizes
  • Paxos and Raft rely on protocol safety rules; progress depends on network and quorum conditions
  • Failure detectors and randomized protocols make assumptions or guarantees outside the original deterministic theorem

Interview Questions

1. What does the FLP impossibility result actually prove?

Expected answer points:

  • No deterministic consensus protocol can guarantee termination in every fully asynchronous message-passing execution when one crash-stop failure is possible
  • The protocol may decide in many executions; FLP constructs an admissible execution in which it does not terminate
  • The original paper assumes reliable eventual delivery to processes that keep running, but has no timing bounds
2. What is a bivalent state in the context of the FLP proof?

Expected answer points:

  • A configuration is bivalent if one possible continuation decides 0 and another decides 1
  • It does not mean that processes have already decided conflicting values
  • The proof constructs an admissible schedule that keeps the execution bivalent
3. How does the adversarial scheduler construct a nonterminating execution?

Expected answer points:

  • Without timing bounds, a process cannot distinguish a crash from an arbitrarily slow peer
  • The scheduler orders process steps and message deliveries to preserve bivalence
  • Messages to processes that keep running are still eventually delivered; no maximum delay is promised
4. What are the three properties that consensus algorithms typically require?

Expected answer points:

  • Agreement: All non-faulty processes decide on the same value
  • Validity: The decided value must have been proposed by some process
  • Termination: All non-faulty processes eventually decide
5. What does partial synchrony change about the FLP assumptions?

Expected answer points:

  • Before GST, the model provides no timing bounds
  • After GST, message delays and process speeds meet the model's bounds
  • A suitable protocol can guarantee liveness after GST while preserving safety, given its fault and quorum assumptions
6. What does Spanner's TrueTime do, and does it refute FLP?

Expected answer points:

  • TrueTime returns a time interval with bounded uncertainty, using GPS receivers and atomic clocks as time sources
  • Commit-wait delays a transaction's commit response until its timestamp is definitely in the past, supporting external consistency
  • This timing API does not detect crashes or refute FLP; it changes the assumptions the system can rely on. See the Spanner paper
7. Why does FLP not make consensus algorithms like Paxos or Raft useless?

Expected answer points:

  • FLP rules out a deterministic termination guarantee for every execution in the fully asynchronous model, not decisions in individual executions
  • Paxos and Raft use protocol rules to preserve safety
  • Their liveness depends on assumptions such as eventual communication and quorum availability
8. What is the relationship between FLP and the CAP theorem?

Expected answer points:

  • Both involve uncertainty about whether a process failed or a message is delayed, but address different properties
  • CAP focuses on consistency vs availability trade-offs during partitions
  • FLP rules out guaranteed deterministic termination under its fully asynchronous assumptions
9. How does Ben-Or's randomized consensus algorithm address FLP?

Expected answer points:

  • Ben-Or's randomized protocol can achieve termination with probability 1 under its stated assumptions
  • That is a probabilistic guarantee, not deterministic termination for every schedule and sequence of coin flips
  • Randomization changes the guarantee being asked for, so it does not contradict FLP's deterministic result
10. What is the role of failure detectors in working around FLP?

Expected answer points:

  • Failure detectors provide suspicion information about process failures (possibly unreliable)
  • A failure detector adds assumptions about what information on process failures is available
  • With a detector that eventually makes the needed suspicions, some algorithms can guarantee liveness outside FLP's original model
11. Why is the asynchronous communication model the key to FLP's impossibility?

Expected answer points:

  • FLP assumes message passing with no upper bound on message delay or process speed
  • Without timing bounds, a process cannot know whether another has crashed or is simply slow
  • The theorem concerns deterministic protocols and allows at most one crash-stop failure
12. How does the FLP proof establish nontermination?

Expected answer points:

  • It starts with a deterministic protocol that satisfies agreement and validity
  • It uses bivalent configurations to construct an admissible execution that never reaches a decision
  • The proof is not a reduction to Byzantine agreement
13. Do leases remove the FLP limitation?

Expected answer points:

  • No. Leases rely on timing or clock assumptions absent from the fully asynchronous FLP model
  • With suitable bounds, they can support a system's liveness and leadership rules
  • They do not guarantee termination under every schedule allowed by FLP
14. What is the Global Stabilization Time (GST) in partial synchrony models?

Expected answer points:

  • GST is the unknown time after which the model's timing bounds hold
  • Before GST, the model offers no timing guarantee
  • After GST, a suitable protocol may guarantee liveness, given its other assumptions
15. Does FLP apply to Byzantine failures as well as crash-stop failures?

Expected answer points:

  • The original FLP result assumes a possible crash-stop failure, not Byzantine behavior
  • Byzantine consensus has a different failure model and separate results
  • Do not infer a Byzantine result directly from the original FLP theorem
16. What is the practical implication of FLP for system designers?

Expected answer points:

  • You must be explicit about which guarantees your system provides under which conditions
  • State which timing and failure assumptions each liveness guarantee needs
  • FLP does not predict that every partition stalls a system; a quorum may remain reachable
17. Why does Raft's election timeout randomization help with liveness?

Expected answer points:

  • Randomized timeouts reduce the chance that several candidates start elections at the same time
  • They help elections make progress under the timing and communication assumptions used by Raft
  • They do not provide a deterministic termination guarantee under every fully asynchronous schedule
18. Can randomized algorithms completely bypass FLP's impossibility?

Expected answer points:

  • Some randomized protocols, including Ben-Or's under its stated assumptions, terminate with probability 1
  • This is not deterministic termination for every random outcome and schedule
  • So randomization changes the guarantee; it does not contradict FLP's result for deterministic protocols
19. What happens to consensus algorithms during network partitions in practice?

Expected answer points:

  • In quorum-based protocols, a side without a quorum cannot commit decisions
  • A side with a quorum may continue, depending on the protocol and its configuration
  • A partition's behavior is a system-design question; FLP does not say every partition prevents progress
20. Why does message order matter in the FLP proof?

Expected answer points:

  • In a bivalent configuration, different continuations still lead to different decision values
  • The proof chooses process steps and message deliveries that keep the next configuration bivalent
  • Messages to processes that keep running are eventually delivered, but there is no maximum delay

Further Reading

## Conclusion

No deterministic consensus protocol can guarantee termination in every execution of a fully asynchronous message-passing system when one crash-stop failure is possible. FLP does not rule out decisions in individual executions, randomized termination, or liveness under timing assumptions.

Paxos and Raft rely on conditions that let them make progress in practice. Spanner uses bounded clock uncertainty and commit-wait to support external consistency. Their liveness claims depend on timing and quorum assumptions that FLP’s model leaves out.

For more on consistency trade-offs, see my post on Consistency Models.

Category

Related Posts

Leader Election in Distributed Systems

Learn how failure detection, quorum-based elections, leases, and fencing tokens affect safety and stale writes in distributed systems.

#distributed-systems #leader-election #consensus

Paxos Consensus Algorithm

Paxos is a family of consensus algorithms for achieving agreement in distributed systems despite failures, pioneered by Leslie Lamport.

#distributed-systems #consensus #paxos

View-Stamped Replication

View-Stamped Replication (VSR) is a distributed consensus protocol that uses views and timestamps to achieve agreement in asynchronous systems.

#distributed-systems #consensus #view-stamped