Stability Patterns
Patterns focus on making systems more resilient, ensuring they handle failure gracefully.
1. Retry
Retries failed operations with optional backoff strategies.
2. Timeout
Prevents operations from running indefinitely by enforcing time limits.
3. Drop
Drops incoming data when the system is overloaded, preventing it from being overwhelmed.
4. Circuit Breaker
Prevents further attempts to execute an operation after a certain number of failures, allowing the system to recover.
5. Caching
Reduces repeated expensive computations or I/O.