← Blog

What is Resilience Engineering?

Beyond Reliability in Complex Systems

Our systems keep getting more complex and more connected, so failures will happen, and how we respond to them matters most. Resilience engineering is the field that studies how people and organisations cope with what they did not plan for, how they recover and how they learn from it.

Beyond simple reliability

A reliable system does what it should, in the conditions it was built for. In complex systems, those conditions do not always hold, so resilience engineering studies what happens when they don’t: how a system keeps working, and recovers, when something happens that its design did not expect.

In “Four concepts for resilience” (2015), David D. Woods describes four kinds of resilience:

  • Rebound: getting back to normal after an outage, for example by rolling back a bad deployment or restoring data from a backup.
  • Robustness: keeping the system working through the problems it was built to handle, for example with redundancy, failover, timeouts and retries.
  • Graceful extensibility: stretching when a surprise goes beyond what the system was built for. People rethink what is happening, work together in new ways and find something that works, under pressure.
  • Sustained adaptability: keeping that ability to stretch over the years, as the system, the people and the business change.

Most organisations invest in the first two. The last two are harder to see and harder to build, and organisations lose them first when the push for efficiency removes spare time and experienced people leave.

Resilience engineering treats the technology and the people who build and run it as one system, which researchers call a socio-technical system. It looks at the infrastructure, the people, the processes and how the organisation is set up, all together.

Pioneers of resilience engineering

Resilience engineering has been a field of research for more than twenty years. It started at a meeting of safety researchers in Söderköping, Sweden, in October 2004. People now use it far beyond software, in fields such as aviation, healthcare, energy, transport, financial services and telecoms.

Erik Hollnagel and David D. Woods are widely seen as its founders. With Nancy Leveson, they edited the book that came out of that first meeting, “Resilience Engineering: Concepts and Precepts” (2006). Hollnagel came up with the idea of Safety-I and Safety-II, and Woods developed the theory of “graceful extensibility”.

Other early names include Nancy Leveson, with her STAMP model of how accidents happen; Sidney Dekker, who described how organisations “drift into failure”; Richard Cook, whose short paper “How Complex Systems Fail” engineers still read today; and John Wreathall, who wrote about what makes an organisation resilient in the 2006 book. The sociologist Diane Vaughan described the “normalisation of deviance”: unsafe practices become normal when nothing bad happens.

Software engineering picked up these ideas later and built its own practices for distributed systems. John Allspaw did much to bring them into software operations and DevOps. Jesse Robbins, known at Amazon as the “Master of Disaster”, started GameDays: exercises in which teams cause failures on purpose, to practise responding to them.

Adaptive capacity

Adaptive capacity is an organisation’s ability to handle surprises: to adjust when things do not go as expected, and to keep serving customers when something happens that nobody planned for. It comes from people, teams and processes as much as from the architecture.

When teams adapt in the same way at every incident, for example by adding capacity by hand during every failure, that response should become part of the standard architecture or procedure, so nobody has to invent it under pressure. Other situations are new each time, and those need people who can still adapt.

When organisations invest in this, they often run into what I call the “prevention paradox” in resilience work: the better you prevent problems, the fewer problems are left to show why the prevention is needed. When prevention works, leaders start to ask whether they still need to pay for it.

The gap between how work is imagined and how it is done

In every organisation, there is a gap between how people think the systems work, as shown in architecture diagrams, runbooks and procedures, and how they really work, with real people under real pressure. Hollnagel calls these work-as-imagined and work-as-done. The gap is there from the first day and grows as systems and teams change. When nobody notices it, it causes surprises. People also adapt to make up for what the design missed.

Nobody can close the gap, so organisations need to find it and keep track of it. Incident analysis, operational readiness reviews, chaos engineering and GameDays show where it is, so the organisation can act before the next surprise.

Hollnagel also describes two ways to manage safety, Safety-I and Safety-II, and an organisation needs both. Safety-I treats safety as the absence of failures: find the cause, add a control and train people to follow the procedure. Safety-II treats safety as the ability to handle the unexpected: study how work goes right, and invest in what helps people cope. Safety-I suits work you can plan in advance, such as a deployment or a planned change, and Safety-II suits the rest. Aviation, for example, uses checklists and also trains crews to make decisions together.

Prepared to be unprepared

A useful idea from resilience engineering is to be “prepared to be unprepared”. However well we plan and test, we will meet situations nobody expected, so resilience depends on how well people notice them, respond and learn. Leaders often tell me their teams are too reactive. I would put effort into preventing the failures you already know about, so your teams stop firefighting the same problems again and again, and still have the time and attention to react well when something new happens.

Resilience in practice

In practice, resilient organisations work on things such as:

  • processes that can change when conditions change;
  • monitoring that spots early warning signs before an incident grows;
  • learning from what goes well as much as from what goes wrong;
  • room for the people doing the work to use their judgement;
  • a view of how parts of the system, teams and decisions affect each other.

Incident analysis, operational readiness reviews, chaos engineering and GameDays are ways to practise them. I explain the words behind these practices in “A Shared Vocabulary for Resilience”, and why organisations struggle with them in my book, Why We Still Suck at Resilience.

Why resilience matters now

We depend on digital systems more every year, so their failures cost more, in revenue and in the trust of customers and regulators. You can estimate what an hour of downtime costs your organisation with the cost of downtime calculator.

Systems also keep getting more complex, and nobody can predict every way they will fail. Organisations need to be able to respond well to what they did not predict, and resilience engineering gives them the ideas and the practices to do that.

This post also appears on the Resilium Labs blog. For one short idea each week, subscribe to Resilience Bites.

Resilience Bites

Stop having the same incident twice.

One practical idea on resilience each week, from the author of Why We Still Suck at Resilience.

Subscribe and get the ORR and incident review templates, plus 50% off the book.