AI engineering glossary · Web APIs HTTP
What is circuit breaker?
Circuit breaker: A resilience pattern in which a client stops calling a service after repeated failures, failing fast for a cooling-off period, then lets a few trial calls through to see if it has recovered. It protects both sides from wasted effort and cascading failures.
Circuit breaker: an example
After 5 consecutive errors, calls to a payment API are blocked for 30 seconds.
Related terms
More Web APIs HTTP terms
Where you learn it
Circuit breaker is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.