L9 · Expert
Distributed Job Scheduler
Problem
Design a job scheduling system that can queue, execute, and monitor background jobs with retry and priority support.
Requirements
- Schedule jobs: immediate, delayed, recurring (cron)
- Priority queues (High, Medium, Low)
- Job retry with configurable backoff
- Job dependency (Job B runs after Job A completes)
- Distributed workers with heartbeat monitoring
- Job status tracking: Queued, Running, Completed, Failed
Constraints
- –Max retries: configurable per job
- –Worker failure detection: 30s heartbeat timeout
- –Max concurrent jobs per worker: configurable
✓ Saved