Bird
0
0

You are designing a parallel running strategy for a microservices system with high traffic. Which approach best balances safety and performance?

hard📝 Trade-off Q15 of 15
Microservices - Migration from Monolith
You are designing a parallel running strategy for a microservices system with high traffic. Which approach best balances safety and performance?
ARoute 100% of traffic to new service and keep old service idle
BRun new service only during low traffic hours without output comparison
CRoute 10% of traffic to new service and 90% to old service, compare outputs, then gradually increase new service traffic
DStop old service immediately and monitor new service logs
Step-by-Step Solution
Solution:
  1. Step 1: Understand gradual traffic shifting in parallel running

    Gradually increasing traffic to the new service while comparing outputs reduces risk and performance impact.
  2. Step 2: Evaluate options for safety and performance

    Routing a small portion initially and increasing after validation balances safety and system load.
  3. Final Answer:

    Route 10% of traffic to new service and 90% to old service, compare outputs, then gradually increase new service traffic -> Option C
  4. Quick Check:

    Gradual traffic shift with output comparison = safe and performant [OK]
Quick Trick: Start small traffic to new service, compare, then increase [OK]
Common Mistakes:
  • Switching 100% traffic immediately
  • Skipping output comparison
  • Stopping old service too early

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes