
Martin Fowler · 32 min readDistributed systems & scale
Deterministic Simulation Testing
Distributed systems fail under subtle, gray failures that standard tests miss. The article explains why live fault injection, like Jepsen, is essential for uncovering correctness bugs and the challenges of reproducing them due to nondeterminism in clocks, scheduling, network and disk timing.
- Gray failures such as partial node hangs, asymmetric packet drops, and disk latency spikes expose correctness bugs.
- Chaos engineering tests availability, but Jepsen focuses on client‑visible correctness under faults.
- Reproducing bugs requires seeded fault schedules and controlling system clocks, thread scheduling, network and disk timing.