No. 23 · Scheduling & coordination
Design a distributed job scheduler
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- Design a Distributed Job Scheduler
Clear free walkthrough: job and schedule tables keyed by next run time, a scheduler polling due jobs into a queue, worker heartbeats, retries with backoff and avoiding duplicate runs. Dependencies and priorities are out of scope.
Link checked 2026-12-06
- How we designed Dropbox ATF: an async task framework
How Dropbox built a shared delayed-task system with at-least-once delivery, priorities and per-task status. A real production reference for the queue-plus-store shape; not a cron service.
Link checked 2026-12-06
- Distributed Job Scheduler | Systems Design Interview Questions With Ex-Google SWE
Video covering DAG dependencies with epoch counters, timeouts and retries, keeping the scheduling table fast, and why jobs should be idempotent. Informal but has good depth on failure handling.
Link checked 2026-12-06
- How to do distributed locking
The essay on why lease-based locks alone cannot stop a paused worker from acting late, and how fencing tokens fix it. Essential for the "never run a job twice" follow-up; background only.
Link checked 2026-12-06
- Scheduler (Apache Airflow documentation)
Airflow explains how it runs several schedulers at once by leaning on database row locks (SELECT ... FOR UPDATE SKIP LOCKED). A concrete, documented answer to scheduler high availability.
Link checked 2026-12-06
- System Design: Designing a distributed Job Scheduler
A community design using Quartz-style triggers, a sharded relational store, ZooKeeper for coordination and Kafka between stages. Many components with lighter justification; useful as a second opinion.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- Job scheduler mock interview with a FAANG engineer
Full transcript of a mentorship-style mock for a public cloud scheduler with interviewer feedback. Shows how requirements and queue choices get discussed live; not a polished design.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 4 of 4 links from the audited catalog kept
Every recommended link was kept.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Candidate report Microsoft
- Senior Software Engineer (L63, India) reports an HLD round to design a job scheduler or orchestrator that prevents two runs of the same job from overlapping. · posted 2025-12-30 · checked 2026-12-06
- Candidate report DoorDash
- Candidate describes a system design and domain knowledge round where the problem was to design a job scheduler, with pushback on table design and partition keys. · posted 2026-05-23 · checked 2026-12-06
Catalog tags (unverified)
GoogleAmazonNetflixAtlassian
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING