Intermediate
System Design
Q54 / 100
What is the "circuit breaker" pattern used for in distributed systems?
Correct! Well done.
Incorrect.
The correct answer is A) To detect repeated failures when calling a dependent service and temporarily stop sending requests to it, preventing cascading failures and allowing recovery
A
Correct Answer
To detect repeated failures when calling a dependent service and temporarily stop sending requests to it, preventing cascading failures and allowing recovery
Explanation
Circuit breakers monitor failure rates to a dependency; after exceeding a threshold, they "open" and fail fast for a period, preventing resource exhaustion from waiting on a failing dependency, then periodically test recovery.
Progress
54/100