circuit-breaker-resilience
Installation
SKILL.md
Circuit Breaker & Resilience Patterns
This skill focuses on the 'Self-Healing' nature of a system, ensuring it doesn't crash when one part is struggling.
Instructions
- Implement Circuit Breakers for all external service calls (e.g., using Hystrix or Resilence4j patterns).
- Define thresholds for 'Open', 'Closed', and 'Half-Open' states.
- Design 'Fallback' mechanisms (e.g., show cached data if the DB is slow).
- Implement 'Bulkheading' to isolate failures to a single component.
- Set up 'Retry' logic with exponential backoff and jitter.
Examples
- "Protect my app from a slow Payment API using a circuit breaker."
- "Implement a fallback strategy for our recommendation engine."