Bird
0
0

Which design best applies Bulkhead principles?

hard📝 Trade-off Q15 of 15
Microservices - Resilience Patterns
You are designing a payment microservice system with Bulkhead pattern. You want to isolate payment processing, notification sending, and logging to prevent failures in one from affecting others. Which design best applies Bulkhead principles?
ACombine all services into one thread pool to simplify management
BUse separate thread pools and resource limits for payment, notification, and logging services
CUse a single database connection pool shared by all services
DRemove resource limits to maximize throughput
Step-by-Step Solution
Solution:
  1. Step 1: Identify Bulkhead goal in design

    Bulkhead pattern isolates resources per service to prevent failure spread.
  2. Step 2: Evaluate design options for isolation

    Use separate thread pools and resource limits for payment, notification, and logging services uses separate thread pools and resource limits per service, matching Bulkhead principles.
  3. Final Answer:

    Use separate thread pools and resource limits for payment, notification, and logging services -> Option B
  4. Quick Check:

    Separate resources per service = Bulkhead design [OK]
Quick Trick: Separate resources per service for isolation [OK]
Common Mistakes:
MISTAKES
  • Combining services into one pool
  • Sharing database connections without limits
  • Removing resource limits entirely

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes