A taxonomy of failure modes
Crashes, slowness, partitions, corruption and correlated failures: know what can go wrong before choosing defences.
15 min readCrash failures are the easy ones
A process that dies, a VM that reboots or a disk that disappears is a crash failure. It is loud and unambiguous: connections are refused, health checks fail, and a load balancer or orchestrator can route around it within seconds. Most redundancy patterns (replicas, failover, multiple instances) are designed for crash failures, and they handle them well. If your only failure test is killing a node, you are testing the friendliest case.
Slow and gray failures
Far more damaging is a component that still answers but badly: a disk at 10% speed, a node dropping 5% of packets, a dependency whose p99 latency goes from 50 ms to 8 seconds. These gray failures pass shallow health checks, so traffic keeps flowing to them while callers' threads and connections pile up waiting. A slow dependency can exhaust a caller's resources and spread the outage upwards, which is why timeouts and circuit breakers exist.
Partitions, corruption and lies
Other failure modes break assumptions rather than machines. They are hard because nothing looks broken: every node reports healthy while the system as a whole gives wrong or inconsistent answers. Defences here are about protocol design, not spare hardware.
- Network partition: both sides are alive but cannot talk, and each may think the other is dead
- Omission: messages are silently lost, so a request may or may not have been applied
- Corruption: a bit flip, a truncated write or a bug writes wrong data that replicates faithfully everywhere
- Clock skew: timestamps disagree, breaking leases and last-write-wins ordering
Correlated and change-induced failures
The outages that make headlines are rarely one random disk. They are correlated: a whole zone loses power, a certificate expires on every node at midnight, a bad config is pushed to the whole fleet, a leap second or a retry storm hits every instance at once. Most large incidents are triggered by a change (a deploy, a config edit, a migration). Design so that a single change cannot reach every instance at once, and so that a shared dependency failing does not fail every replica together.
Key takeaways
- Crash failures are the easiest to detect; slow and gray failures do more damage
- Partitions and lost messages leave requests in an unknown state, so design for ambiguity
- Correlated failures and bad changes defeat naive redundancy
- Name the failure modes you defend against in your design decisions
Sign in to track lessons and earn badges.