resilience
An application's ability to keep working, or fail gracefully, when a dependency is slow or failing.
In more detail
Transient faults are normal in networked systems, so resilience has to be designed in. Strategies such as timeouts, retries with backoff and circuit breakers each need limits, or they multiply an outage instead of surviving it.
Related terms
- Polly — A .NET resilience library for retries, circuit breakers, timeouts and related strategies around unreliable calls.
- retry — Sending a request again after it failed or timed out, in the hope that it succeeds the second time.
- circuit breaker — A wrapper around calls to another service that stops making calls for a while after repeated failures, so the failing service can recover.
- timeout — A limit on how long a caller waits for an answer before giving up.
Taught in
- Retry and Circuit Breaker Policies with Polly — Modern .NET Core, C# & Enterprise Microservices