Bird
0
0

Which of the following is the correct way to implement parallel running in a microservices upgrade?

easy📝 Architecture Q12 of 15
Microservices - Migration from Monolith
Which of the following is the correct way to implement parallel running in a microservices upgrade?
ADeploy new microservice version alongside old one and route a copy of requests to both
BStop old microservice and deploy new one immediately
CDeploy new microservice and ignore old service logs
DRun new microservice only during off-peak hours
Step-by-Step Solution
Solution:
  1. Step 1: Understand deployment in parallel running

    Parallel running requires both old and new versions to run simultaneously to compare results.
  2. Step 2: Identify correct routing method

    Routing a copy of requests to both versions allows output comparison without disrupting users.
  3. Final Answer:

    Deploy new microservice version alongside old one and route a copy of requests to both -> Option A
  4. Quick Check:

    Parallel running = deploy both and route requests to both [OK]
Quick Trick: Route requests to both old and new services in parallel [OK]
Common Mistakes:
  • Stopping old service before testing new one
  • Ignoring logs from old service
  • Running new service only at specific times

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes