Skip to content
Insights · Resilience

Failure is designed for

· 3 min read

Every system fails eventually. The question is whether it fails safely, visibly and recoverably, or in a way that surprises everyone. How we design for the bad day from the first day.

Every system fails. Networks partition. Disks fill. Certificates expire. A third-party service that has been perfectly reliable for two years has a bad afternoon. A deployment goes out with a configuration value that looked right and was not.

None of this is unusual. What separates resilient systems from fragile ones is not whether they fail, but how. ZES-1.0, our engineering standard, puts it plainly: failure is designed for. Systems degrade safely and recover visibly.

Assume the dependency is gone

The most useful question in a design review is also the simplest: what happens if this is not there?

For each dependency, whether it is a database, an identity provider, a payment gateway or a sensor feed, we write down the expected behaviour when it is slow, when it returns nonsense and when it disappears entirely. That forces real decisions. Should the service queue work and continue? Serve a cached answer and say so? Refuse the request clearly? Hand over to a human?

There is rarely one right answer, but there is always a wrong one: not having decided.

Degrade, don’t collapse

A well-designed system loses capability gradually rather than all at once. If a recommendation engine is down, the catalogue should still load. If analytics cannot be written, the transaction should still complete. If a regional cloud zone is unavailable, traffic should move, and users should notice at most a pause.

We design in layers of service:

  • Essential. The functions that must keep working, whatever happens.
  • Important. Functions that can be delayed, queued or served from cache for a while.
  • Optional. Features that can be switched off cleanly under pressure.

Knowing which layer each function belongs to turns a crisis into a set of pre-agreed moves.

A system that fails silently is more dangerous than one that fails loudly. Silence is where small problems grow into large ones.

Make recovery visible

Recovery that nobody can see is recovery that nobody trusts. Every system we build reports its own health in terms people understand: what is working, what is degraded, what is being retried and how far behind it is.

That means meaningful health checks rather than “the process is running”. It means alerts tied to user outcomes rather than to CPU graphs. And it means runbooks written before they are needed, so the engineer on call at three in the morning is following a plan rather than inventing one.

Practise the bad day

Designs that are never tested are opinions. We exercise failure deliberately: switching off dependencies in test environments, restoring from backup to prove the backup works, and walking through incident scenarios with the people who would actually respond.

These exercises almost always find something. A timeout set too long. An alert that goes to a mailbox nobody reads. A manual step that only one person knows. Finding these on a quiet Tuesday is far cheaper than finding them during a real incident.

Why this matters more now

As more critical services run on software, the cost of failure stops being an inconvenience and becomes a matter of public trust. Citizens expect government services to work. Clinicians expect clinical systems to be there. Operators of energy and infrastructure need control systems that fail safe, not fail open.

Designing for failure is not pessimism. It is respect for the people who depend on the system, and an acknowledgement that reliability is something you engineer, not something you hope for.