Replace Round-Robin Routing with Least-Latency Routing
Problem: Replace Round-Robin Routing with Least-Latency Routing
An existing load balancer chooses backend servers using round robin. Replace it with a least request latency policy: for each ne...
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
