LLD scheduler
Task scheduler / thread pool
Submit, workers, shutdown, rejection policy. Delayed jobs if time.
Submit, workers, shutdown, rejection policy. Delayed jobs if time.
Hall calls, car state, dispatcher. SCAN vs nearest. Don’t overbuild.
Idle slots from the most frequent task. Heap vs math formula.
p50 = 2s. How many workers, and what happens at p99 = 10s.