Quick revision
The short answer
Crash-stop means a node halts and never comes back; crash-recovery means it halts and may restart, losing its memory but keeping what it wrote to stable storage. Omission faults lose messages, timing faults deliver answers too late, and Byzantine faults are arbitrary behaviour, including corrupted or false data. A timeout cannot tell us which of these happened, because the request may never have arrived, may have been processed with the reply lost, or may still be running, so retries must be safe and outcomes must be checked.
What to remember
In this answer, we defined the failure models in order: crash-stop, crash-recovery with its stable storage, omission of messages, timing faults where answers come too late, and Byzantine behaviour, which most internal systems do not tolerate. We saw that a timeout is ambiguous, since the request may be lost, done with the reply lost, or still running, so retries need idempotency keys, status checks or reconciliation. And we saw that good designs state which model they assume and test against it.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
Crash-stop means a node halts and never comes back; crash-recovery means it halts and may restart, losing its memory but keeping what it wrote to stable storage. Omission faults lose messages, timing faults deliver answers too late, and Byzantine faults are arbitrary behaviour, including corrupted or false data. A timeout cannot tell us which of these happened, because the request may never have arrived, may have been processed with the reply lost, or may still be running, so retries must be safe and outcomes must be checked.
Why this question is asked
In a single process, a failure is usually obvious: an exception, a crash, a stack trace. Across a network, the same silence can mean five different things, and much of distributed systems design is about acting correctly without knowing which one it was. Interviewers ask about failure models because they are the vocabulary behind every protocol we use, from Kafka to Raft, and because the timeout question shows whether we design retries safely. In this answer, we will define each failure model with an example, see why a timeout is ambiguous, and look at how a good design states its assumptions.
1Why We Need Failure Models
A failure model is a precise statement of which faults a system is designed to survive. Without one, every design discussion becomes 'what if anything goes wrong', which has no answer. With one, we can say: this protocol keeps its guarantees as long as faults stay within this model, and we can test against exactly that.
The models form a ladder from the most benign to the most hostile. Each step up allows more kinds of misbehaviour, and protocols that tolerate the higher steps are more expensive.
| Model | What the node does | Example |
|---|---|---|
| Crash-stop | halts and never returns | a VM deleted, a disk destroyed |
| Crash-recovery | halts, restarts, keeps only stable storage | a process killed and restarted |
| Omission | messages lost on send or receive | a full buffer, a dropped packet |
| Timing (performance) | answers correctly but too late | a 4-second GC pause, a slow disk |
| Byzantine | anything, including lies | a corrupted node, a malicious peer |
2Crash-Stop and Crash-Recovery
Crash-stop is the simplest model: a node works correctly until it halts, and then it is gone for good. It is easy to reason about but unrealistic for most servers, which do come back.
Crash-recovery is the model most databases and consensus protocols assume. A node can halt at any moment and later restart. When it restarts, everything in memory is lost, but whatever it wrote to stable storage and flushed with fsync is still there. This is why Raft requires a node to persist its current term, its vote and its log before replying to a message: if it voted, crashed and restarted without remembering the vote, it could vote twice in one term and allow two leaders. The model forces us to ask, for every piece of state, does it survive a restart?
3Omission, Timing and Byzantine Faults
Omission faults are lost messages: a send buffer overflows, a router drops a packet, a receiving process discards a request because its queue is full. TCP retransmits lost packets within a connection, but a whole request or reply can still be lost when a connection breaks.
Timing faults, also called performance faults, are answers that arrive but too late to be useful. A Java service in a 4-second stop-the-world GC pause is alive and will answer correctly, but by then its caller may have given up and its lease may have expired. These are common in real systems and often more dangerous than crashes, because the slow node later wakes up and acts on stale beliefs.
Byzantine faults allow a node to behave arbitrarily: send corrupted data, send different answers to different peers, or lie on purpose. Tolerating them needs protocols where more than two thirds of nodes are honest, so 3f + 1 nodes for f faults, with signatures. Most internal systems do not tolerate them, and use checksums to catch accidental corruption instead; blockchains and some aerospace and flight-control systems are designed for them.
4Why a Timeout Cannot Tell Us What Happened
Now the key point. A caller sends a request and waits two seconds. No answer comes. What happened? The request may have been lost on the way and never processed. The server may have processed it and the reply was lost. The server may still be processing it, slowed by a GC pause or a slow disk. Or the server may have crashed before or after doing the work. From the caller's side, all of these look identical: silence.
Consider a payment call. If the caller retries blindly, and the first attempt was in fact processed, the customer is charged twice. If the caller gives up, and the first attempt was processed, the system believes the payment failed when it succeeded. Neither choice is safe without more help.
7 messages in order. Play them, or step through them one at a time.
So the design must make the outcome checkable or the retry harmless. An idempotency key lets the server recognise a repeated request and return the original result instead of doing the work twice. A status query lets the caller ask what happened to request 42. And a reconciliation job compares records on both sides later and repairs any mismatch.
5State Your Assumptions and Test Them
A good design document says plainly which model it assumes. A typical internal service might say: nodes are crash-recovery, the network can delay, drop, duplicate and reorder messages with no upper bound on delay, clocks are loosely synchronised within a few hundred milliseconds, and faults are not malicious. Each of these sentences rules some designs in and others out; for example, unbounded delay means we cannot use 'no reply in 5 seconds' as proof that a node is dead.
Then we test against those assumptions, by killing processes, dropping and delaying packets, pausing processes with SIGSTOP and skewing clocks, and checking that guarantees hold. A model we never test is only a hope.
6Follow-up questions
Which model does a typical Raft implementation assume, and what does it not handle?
Raft assumes crash-recovery nodes with stable storage, and a network that may lose, delay, duplicate and reorder messages. It does not handle Byzantine faults: a node that lies about its log or votes can break safety. It also assumes stable storage really is stable, so a disk that silently loses acknowledged writes, or a node restored from an old backup, breaks its guarantees.
Is a long GC pause a crash or a timing fault?
A timing fault. The process is alive and will continue as if nothing happened, which is exactly what makes it dangerous: it may still believe it holds a lease or leadership that expired during the pause. That is why such systems use fencing tokens to reject stale actors.
Why not just make timeouts very long?
Longer timeouts reduce false suspicion but make real failures take longer to detect, and they still cannot remove the ambiguity, because in an asynchronous network any delay is possible. We pick timeouts for availability and rely on idempotency and checks for correctness.
7Conclusion
In this answer, we defined the failure models in order: crash-stop, crash-recovery with its stable storage, omission of messages, timing faults where answers come too late, and Byzantine behaviour, which most internal systems do not tolerate. We saw that a timeout is ambiguous, since the request may be lost, done with the reply lost, or still running, so retries need idempotency keys, status checks or reconciliation. And we saw that good designs state which model they assume and test against it.
Open with
Failure models describe which faults a design is meant to survive. Crash-stop means a node halts and never returns. Crash-recovery means it halts and may restart, losing memory but keeping whatever it fsynced to disk; most databases and consensus protocols assume this, which is why Raft persists its term and vote before replying.
Then, if they want more
Omission faults are lost messages on send or receive. Timing or performance faults are correct answers that arrive too late, like a long GC pause or a slow disk, and they're nasty because the slow node later wakes up and acts on stale assumptions.
Byzantine faults mean arbitrary behaviour, including corrupted or deliberately false data; tolerating that needs 3f plus 1 nodes and is mostly used in blockchains and some aerospace systems, not typical backends. A timeout can't tell these apart. The request may never have arrived, it may have been processed and the reply lost, or it may still be running.
So I treat a timeout as an unknown outcome, not a failure: retries go out with an idempotency key so the server does the work at most once, or I query the status, and a reconciliation job catches anything left over.
And I'd write the assumed model into the design, for example crash-recovery nodes, unbounded network delay and loosely synced clocks, and test against it.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Describe the crash-stop, crash-recovery, omission and Byzantine failure models, and...": https://scrivio-interview-library.netlify.app/architecture/distributed-systems/33e8f3250c/