Add a Circuit Breaker
Talk it through out loud with your AI coach.
The problem
- medium
- Pro
Your checkout calls a fraud-check service, which is completely down for twenty minutes. Every checkout waits for a timeout and then fails. Explain how a circuit breaker works and how it would help here.
What a strong answer covers
- The breaker's normal state and what it watches.
- When and why it stops calling the failing service.
- How it decides the service is healthy again.
- What checkout could do while the dependency is unavailable.
Common mistake: Describing only the open and closed states, with no way for the breaker to ever let traffic back through.
Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.
Practise it out loud