Bird
0
0

What happens when a circuit breaker is in the OPEN state in a microservices system?

easy📝 Conceptual Q1 of 15
Microservices - Resilience Patterns
What happens when a circuit breaker is in the OPEN state in a microservices system?
ARequests are forwarded normally to the service
BRequests are queued until the service recovers
CRequests are immediately failed without calling the service
DRequests are logged but not processed
Step-by-Step Solution
Solution:
  1. Step 1: Understand the OPEN state behavior

    When the circuit breaker is OPEN, it means the service is considered unhealthy or down, so requests should not be sent to avoid further failures.
  2. Step 2: Identify the correct action for OPEN state

    In OPEN state, the circuit breaker fails requests fast to prevent waiting and resource waste.
  3. Final Answer:

    Requests are immediately failed without calling the service -> Option C
  4. Quick Check:

    OPEN state = Fail fast [OK]
Quick Trick: OPEN state means fail fast, no service calls [OK]
Common Mistakes:
MISTAKES
  • Thinking OPEN queues requests
  • Assuming OPEN forwards requests
  • Confusing OPEN with CLOSED state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes