Load balancer with worker states, a priority queue and autoscaling

0
Remix

In a time-boxed backend round, write a small load balancer in Python. Workers move through states (for example starting, idle, busy, draining), requests go to workers through a priority queue, and the pool scales up and down with load. Write complete, running code.

Scale AITechnical phone screenLast asked Dec 2025
No answer yet. Write the first one; the best answer gets endorsed.