Research Library · Idea
FLP impossibility
The FLP impossibility result states that no consensus protocol for a completely asynchronous system can be guaranteed to terminate if even one process may fail. It is named for Fischer, Lynch and Paterson, whose paper appeared in the Journal of the ACM in April 1985 after presentation at the 2nd ACM Symposium on Principles of Database Systems in March 1983.1 Their abstract says every protocol for this problem has the possibility of nontermination, even with only one faulty process.1
In the consensus problem, each process starts with an input value of 0 or 1, and the reliable processes must agree on a binary value. The impossibility proof needs only a weak form of it: nonfaulty processes that decide must choose the same value, both 0 and 1 must be possible decisions, and some process must eventually decide.1
The model is chosen to make the result as widely applicable as possible. Processes are automata that communicate by messages, the message system delivers every message correctly and exactly once, and the authors do not consider Byzantine failures. They make no assumptions about the relative speeds of processes or about message delay, and processes have no synchronized clocks, so algorithms based on time-outs cannot be used. A process cannot tell whether another has stopped entirely or is running very slowly.1 Under these assumptions the stopping of a single process at an inopportune time can prevent a distributed commit protocol from reaching agreement.1 The authors conclude that every asynchronous commit protocol has a "window of vulnerability" in which the delay or inaccessibility of a single process can make the whole algorithm wait indefinitely.1
The paper also shows what remains possible. Its Theorem 2 gives a partially correct protocol in which all nonfaulty processes always reach a decision, provided no process dies during execution and a strict majority of processes are alive initially.1 The authors write that their results do not show such problems cannot be solved in practice. They point to the need for more refined models with realistic assumptions about timing and for less stringent requirements, for example termination only with probability 1.1
Dwork, Lynch and Stockmeyer took the first route in 1988 with partial synchrony, a model between synchronous and asynchronous systems in which bounds on message delay and relative processor speed exist but are unknown, or hold only after some unknown time. They gave fault-tolerant consensus protocols for various cases of partial synchrony and matching lower bounds.2 The Byzantine generals problem of Lamport, Shostak and Pease is the synchronous case that the FLP paper contrasts with its own.1
Source · Impossibility of Distributed Consensus with One Faulty Process (opens in a new tab) · Journal of the ACM (authors: Michael J. Fischer, Nancy A. Lynch and Michael S. Paterson)
References
- Impossibility of Distributed Consensus with One Faulty Process (opens in a new tab) · Journal of the ACM (authors: Michael J. Fischer, Nancy A. Lynch and Michael S. Paterson) · JACM 32(2), April 1985, pp. 374-382. Abstract, introduction, Theorem 2 and conclusion. ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩
- Consensus in the Presence of Partial Synchrony (opens in a new tab) · Journal of the ACM (authors: Cynthia Dwork, Nancy Lynch and Larry Stockmeyer) · JACM 35(2), April 1988, pp. 288-323. Abstract. ↩
Research articles
- How machines and networks are put together: operating systems, the internet and distributed systems, and what their designers prioritized · Computer science
See what connects to it on the map of ideas →

SecSIG