Quick Answer
Circuit breaker pattern: wrap calls to external services in a circuit. After N consecutive failures, the circuit "opens" รขโฌโ subsequent calls fail immediately without hitting the service (giving it time to recover). After a timeout, the circuit goes to "half-open" รขโฌโ one test request is allowed. Success closes the circuit; failure keeps it open. Prevents cascade failures.
Answer
Circuit breakers block calls to unstable services and provide fallbacks, preventing cascading failures.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.