17. Production Hardening
Chapter 17 of 18 · 15 min
EXERCISE
Implement a circuit breaker for external model provider calls. Configure the breaker to open after 3 consecutive failures and attempt recovery every 30 seconds. Log state transitions for monitoring.