LightMySky
En anglais

Impossibility Under Asynchrony: What Consensus Cannot Promise

With no bound on message delay and one process allowed to fail, no deterministic algorithm is guaranteed both to agree and to finish. Real systems live with this by giving up guaranteed termination and leaning on timeouts, which are a failure detector under another name.

Commence ce sujetPas besoin de compte. La progression est enregistrée dans ce navigateur.

Ce que l'enfant saura faire ensuite

  • State the two properties the impossibility result puts in conflict and the model it assumes
  • Say which property practical systems relax, and what a timeout is standing in for
  • Explain why a slow process and a failed process cannot be told apart in this model

1 · Lis

With no bound on message delay and one process allowed to crash, no deterministic algorithm guarantees both agreement and finishing. Agreement is the safety property and finishing is the progress property from the consensus topic. That clash is the impossibility result, often called FLP after Fischer, Lynch and Paterson. Its model assumes crash failures and fully asynchronous messages.

Try it together

A process goes silent. It may have crashed, or its messages may just be slow, and nothing in the model tells the two apart. Waiting forever risks never finishing, while deciding without it risks agreeing wrongly.

Practical systems relax guaranteed finishing, also called termination, and lean on timeouts instead. A timeout says no news after some wait counts as failed, which makes it a failure detector under another name. It can wrongly suspect a merely slow process.

State the price precisely: asynchrony plus one crash means agreement and guaranteed finish cannot both hold. Then say which guarantee your system gives up.

process goes silentcrashed or slow?wait: may never finishdecide: may disagree
With no delay bound, silence leaves two choices, and each has a risk.

Async plus one crash forbids promising both agreement and finish, so systems trade finish for timeouts.

Original instructional content authored for os-taxonomy.

2 · Regarde

En anglais

Sans écran

Imprimer une fiche d'exercicesFormat A4, avec une page de corrigés pour les adultes. Sans écran, sans internet.

Où se situe ce sujet

Puis s'entraîner

8 questions attendent derrière cette leçon, chacune avec sa réponse expliquée. Chaque réponse nourrit le ciel : les étoiles s'allument à mesure qu'elles sont apprises, et pâlissent quand vient le moment de revenir.

Commence ce sujet