The Desi Architect
Notes / Design Interview Problems / Design Distributed Job Scheduler (Cron at Scale)
Track 5 · Design Interview Problems

Design Distributed Job Scheduler (Cron at Scale)

Distributed task and cron execution at enterprise scale. Hierarchical timing wheels, distributed leader locks, and guaranteed single execution under network drops.

Interview problem25 min read1 interactive
On this page
  1. Problem framing
  2. Questions I ask before drawing anything
  3. Requirements
  4. Estimation
  5. API design
  6. Database schema
  7. The data structures of time: Timing Wheels vs Redis ZSET
  8. Evolutionary architecture: v1 MVP to v2 Distributed scale
  9. System architecture deep dives
  10. The critical failure mode: lost ack and safe retries
  11. Edge cases and failure recovery
  12. Cross-questions interviewers will ask
  13. Interview Rubric: Mid-Level vs Senior / Staff