Fault Tolerance
9 items tagged with "fault-tolerance"
Best Practices2
Circuit Breaker Pattern
A resilience pattern that stops calls to a failing dependency once errors cross a threshold, preventing cascading failures and giving the dependency time to recover.
Bulkhead Pattern
A resilience pattern that isolates resources into separate pools so a failure or overload in one part of a system cannot consume the resources others depend on.
Patterns6
Retry with Backoff
Automatically re-attempts a failed operation after progressively longer waits, smoothing over transient faults without overwhelming a struggling dependency.
Timeout
Bounds how long a caller waits for an operation, freeing resources and surfacing failures fast instead of blocking indefinitely on a slow or hung dependency.
Bulkhead
Isolates resources into independent pools so a failure or overload in one part of a system cannot consume capacity needed by the rest.
Fallback
Provides an alternative response or behavior when a primary operation fails, keeping the system useful instead of returning an error to the user.
Graceful Degradation
Keeps core functionality working by selectively disabling or simplifying non-essential features when parts of a system fail or are overloaded.
Fail Fast
Detects invalid state or unavailable dependencies as early as possible and reports the error immediately, rather than continuing into deeper, costlier failure.