Requirements of a task scheduler
medium 26 minA task scheduler runs work later, in the right order, on many machines, and does not forget it.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Lists submit, status, cancel and retry
- Stores before answering
- Estimates rate and workers
Will be probed on
- Timeouts
- Duplicate submit
Stands out
Separates start latency from run time.
Senior
Must show
- Explains at-least-once and the effect
- Handles missed and overlapping runs
- Prevents starvation
Will be probed on
- Spikes on the hour
- Zombie tasks
- Durability as a rule
Stands out
Turns each requirement into a test that can fail.
Staff
Must show
- Shares fairly between tenants
- Plans reconciliation and repair
- Chooses what not to build
Will be probed on
- Cost of precision
- Migration of handlers
- Buying a managed scheduler
Stands out
Shows which promise the business really needs.