Bird
0
0

In a Bulkhead pattern implementation, a service uses separate thread pools but does not limit the queue size for requests. What problem can arise?

medium📝 Analysis Q7 of 15
Microservices - Resilience Patterns
In a Bulkhead pattern implementation, a service uses separate thread pools but does not limit the queue size for requests. What problem can arise?
ARequests will be rejected immediately
BUnbounded queues can cause memory exhaustion and affect service stability
CThread pools will never be fully utilized
DServices will automatically scale without issues
Step-by-Step Solution
Solution:
  1. Step 1: Understand Bulkhead resource limits

    Bulkhead pattern requires limiting resources including queue sizes to prevent overload.
  2. Step 2: Analyze unbounded queue impact

    Unbounded queues can grow indefinitely, causing memory exhaustion and instability.
  3. Final Answer:

    Unbounded queues can cause memory exhaustion and affect service stability -> Option B
  4. Quick Check:

    Bulkhead needs bounded queues to avoid memory issues [OK]
Quick Trick: Limit queues to prevent memory exhaustion [OK]
Common Mistakes:
MISTAKES
  • Assuming unbounded queues are safe
  • Thinking requests reject immediately without queue limits
  • Believing thread pools auto-scale

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes