liveBook · Manning

Fault isolation

Fault isolation is the containment of a component failure so that it does not propagate to unrelated system components or users.

How 2 Manning books explain it

Akka in Action, Second Edition

Fault isolation is the containment of a component failure so that the failed component can be terminated without necessarily stopping unrelated components.

How it is used
Applies supervision to contain actor failures while preserving unrelated message-processing components.
How deep it goes
Contrasts direct object graphs and exception propagation with actor termination, replacement, restart, and mailbox suspension.
Examples
Uses a FileWatcher, LogProcessor, Writer, database connection, corrupted files, and unparseable lines.
What you can do after
Operate/configure actor supervision to terminate, restart, or replace failed actors without disrupting unrelated actors.

Read how Akka in Action, Second Edition explains fault isolation →

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

Fault isolation is the containment of a failure within one component so that it has minimal effect on other components or users.

How it is used
Contains microservice failures so users retain unrelated application functions during partial outages.
How deep it goes
Explains containment through timeouts, retries, circuit breakers, and bulkheads, with implementation examples for timeouts and retries.
Examples
Uses a failed video-upload service, Dropbox requests, Axios configuration, and a bounded JavaScript retry function.
What you can do after
Operate/configure microservice requests with bounded timeouts, retries, and user-visible degraded behavior.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains fault isolation →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.