liveBook · Manning

Resilience

As explained in Fast by Default

Resilience is the ability of a software system to withstand, recover from, and continue operating through failures or adverse conditions.

Resilience is how a system’s latency behaves when components fail or degrade. A resilient architecture continues operating through controlled degradation instead of allowing one failure to amplify across the system. section 5.1

Separate resilience from two related architectural concerns:

  • Speed measures critical-path latency for one user completing one task. section 5.1
  • Scalability measures how latency changes as concurrency and data volume increase. section 5.1
  • Resilience addresses failure conditions through fallback strategies, circuit breakers, graceful degradation, and redundancy. section 5.1
  • Measure resilience with chaos engineering and latency monitoring during incidents rather than applying scalability fixes to failure problems. section 5.1

Cache failure

When a cache layer goes down, an unresilient system sends every request to the database and latency can rise from 50 milliseconds to 5 seconds. A resilient design falls back to a slower path and degrades toward 200 milliseconds instead. section 5.1

Treat resilience as an architectural constraint alongside functionality and maintainability. Select failure-handling patterns before incidents expose the system’s failure paths. section 5.0

How Fast by Default covers it

How deep it goes
Defines failure behavior, names mitigation patterns, and identifies measurement methods without detailing their implementations.
Examples
Contrasts database overload after cache failure with graceful degradation and lower latency.
What you can do after
Diagnose/debug with it by distinguishing failure latency from speed or scalability problems and selecting fallbacks or redundancy.
How it connects
Connects resilience to speed, scalability, fallback strategies, circuit breakers, graceful degradation, redundancy, and chaos engineering.

Also explained in

Compare how 17 books explain resilience →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fast by Default. The section links point to the parts of the book it draws on.