Can a group of computers always reach an agreement when messages can take any amount of time and even one machine might silently stop?
To find out, we follow four part-time legislators in the Chamber of Paxos as they look for a voting rule that always works. Separated across a wide rotunda with poor acoustics, communicating only by messengers across the floor, they must agree whether to paint the temple frieze blue or red, knowing that at any moment one of them may go home. They try one rule after another, and then learn why no rule can ever succeed.
To find out, we look for a protocol that always works. Four processes, each holding an input value, must settle on one decision over a network with no bound on message delay, knowing that any one of them may crash. We try one protocol after another, and then prove that the search can never succeed.
After Michael J. Fischer, Nancy A. Lynch and Michael S. Paterson, Impossibility of Distributed Consensus with One Faulty Process, 1985

Each line traces an idea passed from one paper to another. Hover over or tap a connection to see how they relate.
a paper this book retells a paper retold in another book a paper outside the series
Four part-time legislators sit in the Chamber of Paxos, one to a bench, separated across the wide black-and-white marble floor where the acoustics are too poor for speeches.* Before them lies a single choice, the colour of the temple frieze: blue or red, and they must settle it together.Four processes, P1 to P4, run on separate machines, each holding a private input and answering to no central coordinator. Before any of them acts, they must settle one binary decision together.
The four legislators must decide whether the frieze of the temple is to be painted blue or red, and they must all paint it the same colour. If two legislators paint different colours, the temple is left with a frieze of two colours. Before the session opens, the four want a voting rule that settles the colour every time, however slowly the messengers walk and whichever member goes home.The four processes must decide between 1 and 0, and they must all decide the same value. If their decisions split, part of the system acts on one value while part acts on the other. Before the system starts, we want a protocol that reaches a decision every time, however long messages take and whichever process crashes.
On entering the Chamber, each legislator holds an initial opinion, blue or red. A legislator commits by painting their own panel of the frieze, and once painted, that colour cannot be scraped off. The rule the four are looking for must meet three demands.Each process starts with an input value, 1 or 0. A process decides when it irrevocably outputs a value. The protocol we are looking for must satisfy three properties.
Nobody paints blue while another paints red. Every legislator who commits paints the same colour.No process decides 1 while another decides 0. Every process that decides outputs the same value.
The decision must depend on what they brought into the hall: if all entered favouring blue, they paint it blue; if all favoured red, they paint it red.The decision must depend on the inputs: if every input is 1 the decision is 1, and if every input is 0 the decision is 0.
They cannot debate for ever. Sooner or later, at least one legislator paints their panel.The protocol cannot run for ever undecided. Sooner or later, at least one process decides.
Each demand closes off an easy shortcut. The second demand rules out agreeing in advance to paint it blue regardless of what anyone favoured on entering, which keeps everyone in agreement but makes their opinions pointless. The third demand rules out never painting anything at all, which keeps the first two demands by doing nothing. One more rule binds the four: they cannot draw lots or flip coins. Each legislator acts by a fixed rule, based only on their own initial opinion and the notes that have reached their bench.Each property closes off an easy shortcut. Validity rules out the trivial protocol that always decides 0 regardless of the inputs, which guarantees agreement but makes the inputs pointless. Termination rules out the protocol where nobody ever decides, which satisfies the first two properties by doing nothing. The second property is slightly stronger than what the paper requires, which is only that both outcomes be possible; the stronger form keeps the argument short. One more rule binds the four: there is no randomization. Each process acts deterministically, driven only by its own input and the messages that have reached it.
The search starts with the two simplest rules. Try each one on the initial opinions below, and then try the second when Legislator 3 has gone home.The search starts with the two simplest protocols. Try each one on the inputs below, and then try the second in an execution where P3 has crashed.
The Chamber from above. The badge beside each bench shows what that legislator favoured on entering: blue or red.Each lane is one process, with real time running left to right. The badge beside each name is its input, 1 or 0; each arrow is a message, dashed while in transit, and a decision is marked where it is made.
Try a rule, and see which demands it keeps.Try a protocol, and see which properties it keeps.
Always painting blue keeps the frieze one colour by ignoring what anyone thought. Waiting for every note does far better: whenever all four legislators stay in the hall, every bench collects the same four opinions, since nobody lies, applies the same rule, and paints the same colour. That rule fails only when one member goes home, and the way it fails comes from the messengers.Always deciding 0 keeps the decisions equal by ignoring the inputs. Waiting for every input does far better: whenever all four processes stay up, every process collects the same four inputs, since nobody lies, applies the same rule, and reaches the same decision. That protocol fails only when one process crashes, and the way it fails comes from the network.
The messengers can be trusted in every way but one: every note arrives intact in the end, but there is no limit on how long a messenger may take crossing the floor or the island road.The network can be trusted in every way but one: every message is delivered intact in the end, but there is no bound on how long delivery takes.
A messenger might cross the black-and-white marble floor in moments, or linger under the colonnade outside for hours. Because no walk has a longest time, there is no hour after which a legislator can look at an empty desk and know that no note is coming.A message might arrive in milliseconds, or sit in transit for hours. Because no delay is too long to be possible, there is no moment after which a process can look at an empty inbox and know that no message is on the way.
Now combine slow messengers with the rule that one legislator may go home and leave their bench silent for good. A legislator waiting on a silent bench cannot tell which session they are in. Wait at Legislator 2's bench below, and see whether waiting longer ever tells the two apart.Now combine slow messages with the possibility that one of the four processes crashes and falls silent. A process waiting on one that has not answered cannot tell which execution it is in. Wait at P2’s inbox below, and see whether waiting longer ever tells the two apart.

Suppose Legislator 1 has gone home. No note was sent, and none will ever come.Suppose P1 has crashed. It sent no message, and none will ever come.
Suppose Legislator 1 has not gone home, though they may be out on an errand. Their messenger left hours ago, but is still crossing the hall.Suppose P1 is alive and well. It sent its message hours ago, but the message is still in transit.
Legislator 2 has heard nothing from legislator 1. Which session is this?P2 has heard nothing from P1. Which execution is this?
In both sessions, Legislator 2 sees the same thing: an empty desk. Waiting another hour never turns that silence into an answer. Any rule that waits for all four legislators will stall for ever whenever one member goes home. To guarantee that someone commits, the rule must let a legislator commit after hearing from at most three benches.In both executions, P2 sees the same thing: an empty inbox. Waiting another hour never turns that silence into an answer. Any protocol that waits for all four inputs will stall for ever whenever one process crashes. To guarantee termination, a protocol must allow processes to decide after hearing from at most three of the four.
The search therefore turns to rules that go on without one bench. There are two natural ways to do it: let every legislator decide from the first three opinions they hold, or let one legislator choose for everyone and name a successor if the chooser falls silent.The search therefore turns to protocols that go on without one process. There are two natural ways to do it: let every process decide from the first three inputs it holds, or let one process choose for everyone and hand the choice to another if the first falls silent.
A rule that lets the four go on without one bench has to decide what a silent bench means. Whatever it decides, the bench may only be slow, and its note may still be on the floor.A protocol that lets the four go on without one process has to decide what a silent process means. Whatever it decides, the process may only be slow, and its message may still be in transit.
The first rule asks each legislator to paint as soon as they hold three opinions, their own and the first two notes to arrive, and to follow the majority of those three. The second rule asks Legislator 1 to choose a colour, paint it, and send it to the others, who paint whatever the chooser's note says; if no note comes for a long while, Legislator 2 chooses instead. Below, the four enter with Legislators 1 and 4 favouring blue and Legislators 2 and 3 favouring red. Try each rule.The first protocol has each process decide as soon as it holds three inputs, its own and the first two to arrive, and take the majority of those three. The second has P1 choose a value, decide it, and send it to the others, who decide whatever P1's message says; if no message comes before a timeout, P2 chooses instead. Below, P1 and P4 start with input 0 and P2 and P3 with input 1. Try each protocol.
The Chamber from above. The badge beside each bench shows what that legislator favoured on entering, and the word beside it is the colour they paint.Each lane is one process, with real time running left to right. The badge beside each name is its input; each arrow is a message, dashed while in transit, and a decision is marked where it is made.
Neither rule waits for all four benches. Find what each gives up instead.Neither protocol waits for all four processes. Find what each gives up instead.
Following the first three opinions lets every bench finish without the fourth, and that is exactly what splits the frieze. Legislator 1 never heard from Legislator 3 in time, Legislator 3 never heard from Legislator 1, and with opinions divided two against two, the bench a legislator misses decides which colour they paint. The notes they missed all arrive in the end, after the paint is dry.Taking the majority of the first three inputs lets every process finish without the fourth, and that is exactly what splits the decision. P1 never received P3's input in time, P3 never received P1's, and with inputs divided two against two, the process whose message is late decides which value each one picks. The late messages are all delivered in the end, after the decisions are made.
Letting one legislator choose fails in the two ways a silent bench allows. If the others wait for the chooser, they wait for ever when the chooser has gone home. If they name a successor after a long while, the chooser may only have had slow messengers, and has already painted a colour the successor does not know. No while is long enough to rule that out, because no messenger has a longest walk.Letting one process choose fails in the two ways a silent process allows. If the others wait for it, they wait for ever when it has crashed. If they hand the choice to another after a timeout, the first may only have had slow messages, and has already decided a value its successor does not know. No timeout is long enough to rule that out, because there is no bound on message delay.
Each rule can be repaired: a second exchange of notes to compare what each bench heard, a successor who first asks the others what the chooser said. But every repair runs into the same question one exchange later, since each new round must also go on without one bench. Trying rules one at a time can go on as long as anyone likes, and a failed rule proves nothing about the next one. To end the search, the argument has to judge every rule at once.Each protocol can be repaired: a second round to compare what each process received, a successor that first asks the others what P1 sent. But every repair meets the same question one round later, since each new round must also proceed without one process. Testing protocols one at a time never ends, and a failed protocol proves nothing about the next one. To end the search, the argument has to judge every protocol at once.
Judging every voting rule at once means saying nothing about how any particular rule works. All the argument may use is what every rule shares: four benches, notes crossing the floor, and a moment when the colour stops being in doubt. Three words describe the Chamber that way.Judging every protocol at once means saying nothing about how any particular protocol works. All the argument may use is what every protocol shares: four processes, messages in transit, and a point after which the decision is no longer in doubt. Three terms describe the system that way.
A position is everything in the Chamber at a given instant: what each of the four legislators holds in mind, together with every note currently carried across the floor.A configuration is the complete state of the system at a given instant: the internal state of each of the four processes, together with every message currently in transit.
The session moves forward one delivery at a time: one legislator reads an arriving note (or checks an empty desk), updates their notes, and may send new messengers.The execution moves forward one step at a time (an event in the paper): one process receives a message (or checks an empty inbox), updates its state, and may send new messages.
A position is open if later deliveries can still lead to blue and can still lead to red. It is closed once only one colour remains reachable.A configuration is bivalent if later steps can still lead to decision 0 and can still lead to decision 1. It is univalent once only one decision remains reachable.
Whether a position is open or closed does not describe what any single legislator thinks; it describes the whole hall from above. While a position is open, the order in which messengers arrive can still tip the final colour either way. Once a position is closed, the colour is fixed: every continuation from that point ends in the same colour, even if nobody has written it down yet.Whether a configuration is bivalent or univalent does not describe what any single process knows; it describes the whole system from above. While a configuration is bivalent, the order in which messages arrive can still tip the final decision either way. Once a configuration is univalent, the decision is fixed: every continuation from that point leads to the same value, even if no process has decided yet.
First, see what happens when two groups of benches act with no legislator in common. Below, Legislators 1 and 2 trade notes on one side of the hall, while Legislators 3 and 4 trade notes on the other. Run them in one order, start again, and run them in the other order.First, see what happens when two sets of steps have no process in common. Below, P1 and P2 exchange messages, and so do P3 and P4. Run them in one order, start over, and run them in the other order.
Each line is one bench over time. An arc is a messenger carrying a note from one bench to another, and a hollow dot is a legislator who has not yet committed.Each lane is one process, with real time running left to right. An arrow is a message sent from one process to another, and a hollow dot is a step taken by a process that has not yet decided.
Legislators 1 and 2 have notes to trade, and so have Legislators 3 and 4. Which pair goes first?P1 and P2 have messages to exchange, and so have P3 and P4. Which pair goes first?
When two sequences of deliveries touch completely separate benches, their order does not matter: run either first, and the Chamber ends in the exact same position. Each delivery changes only the bench that receives the note and the messengers on the floor for that bench, so neither pair touches anything the other pair reads.When two sequences of steps involve disjoint sets of processes, their order does not matter: run either first, and the system reaches the exact same configuration (they commute). Each step changes only the state of the process taking the step and the messages in transit for it, so neither sequence touches anything the other reads.
With these words, the hope behind each repair can be tested against every rule at once. The first hope is that a clever enough rule lets the opinions brought into the hall settle the colour before any messenger walks, so that a missing note never matters. That hope concerns the start of the session, when each legislator holds an initial opinion and no messenger has crossed the floor.With these terms, the hope behind each repair can be tested against every protocol at once. The first hope is that a clever enough protocol lets the inputs fix the decision before any message is sent, so that a late message never matters. That hope concerns the initial configuration, when each process holds its input and no message is in transit.
In the paper's terms, a position is a configuration, a delivery is an event, a course is a schedule, a fair course is an admissible run, and open and closed are bivalent and univalent. Lemma 1. Let courses σ₁ and σ₂ both be applicable at a position, and let the set A of legislators who act in σ₁ and the set B of legislators who act in σ₂ be disjoint. Then each course can be run after the other, and both orders reach the exact same position.Lemma 1. Let schedules σ₁ and σ₂ both be applicable to a configuration, and let the set A of processes that take steps in σ₁ and the set B of processes that take steps in σ₂ be disjoint. Then each schedule can be applied after the other, and both orders reach the exact same configuration.
The first hope is that a rule can let the opinions settle the colour before any messenger walks. To test it, line up five possible beginnings. On the left all four legislators favour blue; at each step to the right one more changes to red, first Legislator 1, then 2, then 3, then 4, until on the right all four favour red.The first hope is that a protocol can let the inputs fix the decision before any message is sent. To test it, line up five initial configurations, from 0000 on the left to 1111 on the right, changing one more input from 0 to 1 at each step: first P1’s, then P2’s, then P3’s, then P4’s.
Under any rule, each beginning is either closed for one colour, or open, when the order of the messengers can still tip it either way. The second demand fixes the two ends: all-blue is closed for blue, and all-red is closed for red. The hope is that the rule closes every beginning in between as well. Mark each of the middle three below, and try to close them all.Under any protocol, each initial configuration is either univalent (0-valent or 1-valent) or bivalent, when the order of delivery can still tip it either way. Validity fixes the two ends: 0000 is 0-valent, and 1111 is 1-valent. The hope is that the protocol makes every configuration in between univalent as well. Mark each of the middle three below, and try to make them all univalent.
Two neighbours in the row can never be closed for opposite colours. They differ only in what one legislator favoured, and that legislator may go home before sending a single note. The other three then hold the same opinions and receive the same notes in both sessions, so they paint the same colour in both, and that colour can be reached from either beginning. The row has to turn from blue to red somewhere between its ends, and it cannot turn in one step from closed-for-blue to closed-for-red, so it must pass through an open beginning. Under any voting rule, at least one combination of initial opinions leaves the session open at the start.Two adjacent configurations can never be univalent for opposite values. They differ only in one process’s input, and that process may crash before sending a single message. The other three then hold the same inputs and receive the same messages in both executions, so they decide the same value in both, and that value is reachable from either configuration. The row has to turn from 0 to 1 somewhere between its ends, and it cannot turn in one step from 0-valent to 1-valent, so it must pass through a bivalent configuration. Under any protocol, at least one assignment of inputs leaves the initial configuration bivalent.
The first hope fails for every rule: the session can begin open. That leaves the second hope. If the opinions do not settle the colour, perhaps the notes do, and some delivery must sooner or later tip the balance and close the room. A rule would then only need its legislators to keep trading notes until that delivery comes.The first hope fails for every protocol: an execution can begin bivalent. That leaves the second hope. If the inputs do not fix the decision, perhaps the messages do, and some delivery must sooner or later tip the balance and make the configuration univalent. A protocol would then only need its processes to keep exchanging messages until that delivery comes.
A beginning is an initial configuration: the four legislators' initial opinions, with no messenger yet sent. Lemma 2. Whatever voting rule the four follow, at least one beginning is open (bivalent).Lemma 2. An initial configuration gives each process an input, with no message yet in transit. Whatever protocol the four processes run, at least one initial configuration is bivalent.
A rule that waits for the delivery that closes the room needs such a delivery to come. Suppose the session is open, and a note is ready to be delivered that would close the room. By holding that messenger back for a while and letting other notes arrive first, the Chamber can always reach a position where that waiting note is finally delivered and the room stays open.A protocol that waits for the delivery that settles the decision needs such a delivery to come. Suppose the system is in a bivalent configuration, and a message is ready to be delivered that would make it univalent. By delaying that message for a while and letting other steps happen first, the system can always reach a configuration where that waiting message is finally delivered and the configuration stays bivalent.
The note is never lost, since every messenger arrives in the end. The argument only checks whether its delivery has to close the session. Scroll through the seven steps below to follow the reasoning.The message is never lost, since the network eventually delivers every message. The argument only checks whether its delivery has to make the configuration univalent. Scroll through the seven steps below to follow the reasoning.
The Chamber stands in an open position: both blue and red can still be reached. One note is on the floor, ready to be delivered. Because messengers are reliable, that note must be delivered sooner or later.The system stands in a bivalent configuration: both 0 and 1 can still be decided. One message is in transit, ready to be delivered. Because the network is reliable, that message must be delivered sooner or later.
Hold that messenger back while other deliveries happen first. The top row shows the positions reached while that note waits. Directly beneath each top position, the bottom row shows the position reached when the waiting note is finally delivered.Delay that message while other steps happen first. The top row shows the configurations reached while that message waits. Directly beneath each top configuration, the bottom row shows the configuration reached when the waiting message is finally delivered.
Suppose, for contradiction, that delivering this note always closed the session. Then every position in the bottom row would be closed, either for blue or for red. Because the starting position was open, both colours must appear somewhere along the bottom row.Suppose, for contradiction, that delivering this message always made the configuration univalent. Then every configuration in the bottom row would be univalent, either 0-valent or 1-valent. Because the starting configuration was bivalent, both 0 and 1 must appear somewhere along the bottom row.
Because the positions in the top row are linked by single deliveries, there must be two adjacent positions in the top row, one delivery apart, where delivering the waiting note at the first closes the room for blue, while delivering it at the second closes the room for red.Because the configurations in the top row are linked by single steps, there must be two adjacent configurations in the top row, one step apart, where delivering the waiting message at the first yields a 0-valent configuration, while delivering it at the second yields a 1-valent one.
Suppose the single delivery between the two top neighbours happens at a different bench than the one our waiting note is addressed to. By our first fact, deliveries at separate benches commute: delivering the waiting note first and taking that step second reaches the exact same position as taking that step first and delivering the waiting note second. That would mean a position closed for blue can step straight into a position closed for red, which is impossible.Suppose the single step between the two top neighbours is taken by a different process than the one our waiting message is addressed to. By Lemma 1, steps at different processes commute: delivering the waiting message first and taking that step second reaches the exact same configuration as taking that step first and delivering the waiting message second. That would mean a 0-valent configuration can step straight into a 1-valent one, which is impossible.
Suppose both deliveries happen at the same bench. Then let that legislator go home while the other three finish the session and commit on their own. Because the other three never hear from that bench, their deliveries commute with its deliveries. So even after the other three have committed, delivering the waiting note alone to that bench would force blue, while delivering both notes to it would force red. A finished session would still be open, which is also impossible.Suppose both steps are taken by the same process. Then let that process take no steps while the other three finish the protocol and decide on their own. Because the other three never hear from that process, their steps commute with its steps. So even after the other three have decided, delivering the waiting message alone to that process would force 0, while taking both of its steps would force 1. A decided configuration would still be bivalent, which is also impossible.
Both cases are impossible, so the supposition fails. Somewhere in the bottom row, delivering the waiting note leaves the Chamber open. No single note is ever forced to close the session.Both cases are impossible, so the supposition fails. Somewhere in the bottom row, delivering the waiting message leaves the configuration bivalent. No single message is ever forced to settle the decision.
Every delivery that happens while a note waits either touches another bench (so the two deliveries commute) or touches the same bench (whose legislator could go home while the other three finish). In either case, the boundary between blue and red cannot hold. Two facts are now established: the session can begin open, and any waiting note can be delivered without closing it. Each refutes one hope, for every rule at once. Used together without stopping, they end the search.Every step that happens while a message waits either touches another process (so the two steps commute) or touches the same process (which could stop while the other three finish). In either case, the boundary between 0-valent and 1-valent cannot hold. Two facts are now established: an execution can begin bivalent, and any pending message can be delivered without making it univalent. Each refutes one hope, for every protocol at once. Used together without stopping, they end the search.
Lemma 3. Let C be an open position and e a delivery applicable at C. Let 𝒞 be the set of positions reachable from C without allowing e, and 𝒟 the set of positions obtained by finally allowing e from each position in 𝒞. Then 𝒟 contains at least one open position.Lemma 3. Let C be a bivalent configuration and e an event applicable to C. Let 𝒞 be the set of configurations reachable from C without applying e, and 𝒟 the set of configurations obtained by finally applying e to each configuration in 𝒞. Then 𝒟 contains at least one bivalent configuration.
Used one after another without rest, those two facts build a session that is fair to every legislator and every messenger, yet never closes. The session can be built against any voting rule the four adopt, the ones the search tried and every one it did not.Used one after another without rest, those two lemmas build an execution that is fair to every process and every message, yet never becomes univalent. The execution can be built against any protocol, the ones the search tried and every one it did not.
Start from initial opinions that leave the Chamber open. Place all four legislators in a queue. At each turn, look at the legislator at the front of the queue and find the note that has been on the floor longest for their bench (or let them check an empty desk if none is waiting). By the second fact, other notes can be delivered first so that delivering that oldest note leaves the Chamber open. Then move that legislator to the back of the queue and repeat. Every legislator's turn comes round again and again, and every note is delivered at last.Start from an initial configuration that is bivalent (Lemma 2). Place all four processes in a round-robin queue. At each turn, take the process at the front of the queue and find the message that has been in transit longest for it (or let it take a step with an empty inbox if none is waiting). By Lemma 3, other steps can be taken first so that delivering that oldest message leaves the configuration bivalent. Then move that process to the back of the queue and repeat. Every process’s turn comes round again and again, and every message is eventually delivered.
Let the session run below and watch the count of committed legislators stay at zero. Then give the messengers a longest walk, and watch what changes.Let the execution run below and watch the count of decided processes stay at zero. Then give messages a maximum delay, and watch what changes.
No legislator is starved of a turn, and every note is delivered at last.No process is starved of a turn, and every message is delivered at last.
The picture follows the rotating queue: each turn delivers the note longest on the floor for the bench at the head of the queue, and our two facts guarantee that against any fixed voting rule the four could choose, the deliveries can be ordered so the session stays open.The picture follows the round-robin queue: each turn delivers the oldest message in transit for the process at the head of the queue, and Lemmas 2 and 3 guarantee that against any deterministic protocol the four could choose, the steps can be ordered so the configuration stays bivalent.
Continued without end, this session is completely fair: no note is lost, no legislator is starved of a turn, and every messenger reaches their bench. Yet at every step the Chamber stays open, so no legislator can ever paint their panel. The same endless session can be arranged against any fixed voting rule the four could devise, so the search for one that always works is over.Continued without end, this execution is completely fair: no message is lost, no process is starved of a turn, and every message is delivered. Yet at every step the configuration stays bivalent, so no process can ever decide. The same endless execution can be arranged against any deterministic protocol the four could run, so the search for one that always works is over.
Nobody actually goes home in this session. The single departure allowed by the rules was used only to show that three legislators must be able to finish without the fourth. In the session itself, all four legislators stay in the Chamber all day.Nobody actually crashes in this execution. The single crash allowed by the model was used only to show that three processes must be able to decide without the fourth. In the execution itself, all four processes stay up and take steps forever.
Agreement is never broken. No two legislators ever paint different colours, because nobody paints a panel at all.Agreement is never broken. No two processes ever decide different values, because no process decides at all.
One legislator committing was all we asked. The third demand asked only that at least one legislator eventually paint a panel, and even that cannot be promised.One process deciding was all we asked. Termination asked only that at least one process eventually decide, and even that cannot be promised.
Four benches are not special. The same argument holds for any group of two or more legislators choosing between two or more colours.Four processes are not special. The same argument holds for any group of two or more processes choosing between two or more values.

Giving the messengers a deadline ended the waiting at once, which shows what has to change before agreement can be guaranteed.Bounding the message delay ended the waiting at once, which shows what has to change before consensus can be guaranteed.
Theorem 1 (Fischer, Lynch, and Paterson, 1985). No completely asynchronous consensus protocol can tolerate even a single unannounced crash failure.Theorem 1 (Fischer, Lynch, and Paterson, 1985). No completely asynchronous consensus protocol can tolerate even a single unannounced crash failure.
Slow messengers alone do not cause the deadlock, and neither do notes that arrive out of order. The deadlock comes from two things together: no longest walk for a messenger, and an absent legislator looking just like a slow messenger. Changing any one of three assumptions breaks it.Slow messages alone do not cause the impossibility, and neither do messages that arrive out of order. The impossibility comes from two things together: no bound on message delay, and a crashed process looking just like a slow message. Changing any one of three assumptions breaks it.
If every messenger arrives within a known time, silence past that time proves a bench is empty, and the remaining legislators can go on without it.If every message arrives within a known time bound, silence past that deadline proves a process has crashed, and the remaining processes can go on without it.
Give each legislator an attendance slate that marks who appears to have left, provided it eventually marks every absent member and eventually spares at least one present member.*Give each process a failure detector that suspects crashed processes, provided it eventually suspects every crashed process and eventually spares at least one correct process.*
If no legislator goes home once the session has begun, and absences happen only beforehand, a present majority can always settle the colour.If no process crashes once the protocol has begun, and crashes happen only beforehand, a correct majority can always reach agreement.
When none of these holds in the Chamber, the legislators give up the promise that every session finishes on its own: their numbered ballots keep the scrolls safe through any delay or absence, and settle the colour as soon as one president's notes go back and forth unchallenged.* Across the water on Mount Phyle, the mercenaries take two other paths: a coin tossed in the tent breaks a tie by chance,* and waiting for the mountain wind to drop gives their birds a bounded flight at last.*When none of these holds in an asynchronous network, practical protocols give up unconditional termination: Paxos guarantees safety under all delays and crashes, and makes progress whenever a single leader is able to communicate with a majority.* Randomization* and partial synchrony* take the other two paths.
When messages may take any amount of time and even one machine may crash, no deterministic protocol can guarantee that the group ever decides.
Agreement itself is never broken. What cannot be promised is an end to the waiting.
Real-world distributed systems live with this result by relaxing the rules slightly: assuming message delays eventually stay within bounds, using imperfect failure detectors, or flipping coins.
Setting The Chamber of Paxos · Part-Time Legislators Passing Laws
The paper behind this book. Michael J. Fischer, Nancy A. Lynch and Michael S. Paterson, “Impossibility of Distributed Consensus with One Faulty Process,” Journal of the ACM 32, 2 (April 1985), 374–382.
The ideas. No deterministic protocol can guarantee consensus in an asynchronous network if even a single process is allowed to crash. The proof centers on bivalence (what our story calls an open position): a system configuration from which both possible decisions are still reachable. The authors prove two key lemmas: first, every protocol has at least one bivalent initial configuration (Lemma 2); second, from any bivalent configuration, any pending message delivery can be delayed behind other steps so that delivering it still leaves the system in a bivalent configuration (Lemma 3). Chaining these together lets an adversarial scheduler construct an infinite, fair run in which every process takes steps and every message is delivered, yet no decision is ever reached. Three subtleties make the theorem especially striking: the infinite run constructed by the proof contains no actual crash at all (the single permitted fault is used only to show that processes cannot wait for everyone); safety (agreement and validity) is never violated, and only termination (liveness) is lost; and the impossibility holds even when we only require a single process to eventually decide. The root obstacle is not slow messages alone, but the inability to distinguish a crashed process from a slow one. Relaxing that constraint by bounding message delays (even only eventually), adding an unreliable failure detector, allowing randomness, or restricting crashes to occur only before the protocol begins (as shown in §4 of the paper) makes consensus solvable again.
Fischer, M. J., Lynch, N. A., and Paterson, M. S. Impossibility of distributed consensus with one faulty process. J. ACM 32, 2 (1985), 374–382.
Lamport, L. The part-time parliament. ACM Trans. Comput. Syst. 16, 2 (1998), 133–169.
Dwork, C., Lynch, N., and Stockmeyer, L. Consensus in the presence of partial synchrony. J. ACM 35, 2 (1988), 288–323.
Chandra, T. D., and Toueg, S. Unreliable failure detectors for reliable distributed systems. J. ACM 43, 2 (1996), 225–267.
| four benches in the Chamber | Four processes (N ≥ 2 in the paper). §2. |
| an opinion on entering (blue or red) | A binary input register xp ∈ {0, 1}. §2. |
| painting a panel of the frieze | Writing 0 or 1 to a write-once output register yp. §2. |
| a messenger carrying a note across the floor | A message (p, m) in the message buffer, delivered eventually but after an arbitrary finite delay. §2. |
| one legislator going home | At most one crash fault (stopping failure). §1, §2. |
| a position of the Chamber | A configuration C: all internal states plus the contents of the message buffer. §2. |
| a voting rule | A deterministic consensus protocol: each process's transition function. The rules tried (always one colour, waiting for all, the first three opinions, one chooser) are examples; the theorem covers every protocol. §2. |
| a run of steps | A schedule σ, a finite or infinite sequence of events e = (p, m). §2. |
| Separate Benches | Lemma 1: schedules on disjoint sets of processes commute and reach the same configuration. §2. |
| an open position; a settled position | A bivalent configuration (V(C) = {0, 1}); a univalent (0-valent or 1-valent) configuration. §2. |
| Entering That Settles Nothing | Lemma 2: every partially correct protocol has a bivalent initial configuration. §3. |
| two neighbouring positions | Configurations D0 and D1 that differ by a single step e' = (p, m'). §3. |
| The Note That Would Settle It | Lemma 3: any pending event e from a bivalent configuration can be delayed to reach another bivalent configuration. §3. |
| A Fair Session in Which Nothing Is Ever Settled | Theorem 1: chaining Lemma 2 and Lemma 3 along a round-robin queue builds an admissible deciding-free run. §3. |