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. Circuit Breaker
Prevents further attempts to execute an operation after a certain number of failures, allowing the system to recover.
4. Caching
Reduces repeated expensive computations or I/O.