Distributed Systems
Failure models
Explain what a failure model says, why crash-stop, crash-recovery and Byzantine assumptions differ, and why gray failure needs its own place in the model.
What you will be able to do
- Explain the difference between crash-stop, crash-recovery and Byzantine failure models.
- Decide which failure model a design assumes and write down the faults it does not cover.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Distributed Systems
- Lamport clockBeginner · 4 min
Lamport clock orders events consistent with happened-before.
- Vector clockBeginner · 4 min
Vector clock tracks partial causal order of events.
- Partial failuresIntermediate · 5 min
Explain why a timed-out remote call has an unknown outcome, and how timeouts, idempotency keys, retries and jittered backoff work together to handle it safely.
- Network partitionsIntermediate · 5 min
Explain how a network partition splits a cluster into groups, why only the side with a majority can commit writes, and how to choose member counts that survive a zone…
- CAP tradeoffsIntermediate · 5 min
Explain the three CAP properties, why a partition forces a choice between refusing and serving stale answers, and how to make that choice for each operation.
- Sequential consistencyIntermediate · 5 min
Explain sequential consistency, where all processes agree on one order that keeps each process's own order, and how it differs from the real-time rule of linearizability.