Question bank

No. 23 · Scheduling & coordination

Design a distributed job scheduler

Advanced40 minScheduling · Concurrency control · Idempotency · Sharding & partitioning · Failure detection · Message queues

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough 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.

  1. Design a Distributed Job Scheduler

    AlgoMaster Newsletter · Ashish Pratap SinghArticleFull walkthroughFreeVetted

    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

  2. How we designed Dropbox ATF: an async task framework

    Dropbox Tech Blog · Arun Sai KrishnanEngineering blogPartialFreeVetted

    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

  3. Distributed Job Scheduler | Systems Design Interview Questions With Ex-Google SWE

    Jordan has no life (YouTube)VideoFull walkthroughFreeVetted

    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

  4. How to do distributed locking

    Martin Kleppmann's blog · Martin KleppmannArticleBackgroundFreeVetted

    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

  5. Scheduler (Apache Airflow documentation)

    Apache AirflowDocsBackgroundFreeVetted

    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

  6. System Design: Designing a distributed Job Scheduler

    LeetCode DiscussDiscussionPartialFreeVetted

    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)

  7. Job scheduler mock interview with a FAANG engineer

    interviewing.ioMock interviewMock interviewFreeVetted

    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

Catalog tags (unverified)

GoogleAmazonNetflixAtlassian

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions