Complete the code to start the new service alongside the old one.
new_service[1]();To run services in parallel, the new service must be started without stopping the old one immediately.
Complete the code to route traffic to both services during parallel running.
router.addRoute('/api', [1]);
A load balancer distributes requests between old and new services during parallel running.
Fix the error in the code to ensure both services run without conflict.
if (old_service.status() == 'running' [1] new_service.status() == 'stopped') new_service.start();
Using 'and' ensures the new service starts only if the old service is running, enabling parallel running.
Fill both blanks to correctly implement traffic splitting and monitoring.
traffic_manager.setStrategy([1]); monitor.enable([2]);
Canary strategy gradually shifts traffic; metrics monitoring tracks performance during parallel running.
Fill all three blanks to complete the parallel running deployment steps.
deploy([1]); monitor.[2](); if (monitor.status() [3] 'healthy') { old_service.stop(); }
Deploy the new version, start monitoring, and check if status equals 'healthy' before stopping old service.