Scale AI: Build a small load balancer with a priority task queue
Problem. Starting from a provided project skeleton, build a lightweight load balancer in Python. It must keep track of each worker's state, hold incoming tasks in a priority queue, and let new worker nodes join while it is running.
What to cover. How tasks get dispatched to workers, how heartbeats tell you a worker is alive, and what happens to in-flight tasks when a worker fails.
Notes from the candidate. This was combined with past-project questions in the first round and done under time pressure, so getting a working dispatch loop early mattered.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.