Skip to content
All interviews

Distributed job scheduler

Schedule one-off delayed tasks and recurring cron jobs across a fleet of workers with at-least-once execution, lease heartbeats, fencing tokens so zombie workers cannot corrupt downstream state, and isolation when every tenant schedules a job for 00:00 UTC.

Notes and ratings save in this browser. Completing self-assessment records your progress.

45:00

Requirements checklist

Clarifying questions
  • What is the acceptable dispatch delay between a job's scheduled time and when a worker starts running it (e.g., <1 s vs <30 s)?
  • How long can a single job execution run (milliseconds vs hours), and do workers need heartbeats?
  • Are jobs strictly one-off, recurring cron, or DAG workflows with dependencies?
  • Is the system multi-tenant, where one tenant might dump 1M jobs at once?

requirements

Suggested time: about 6 minutes. Addresses lease heartbeats, cancellation, and multi-tenant fairness at 00:00 UTC.