#20Distributed Cron & Job Scheduler
20 / 20
Temporal logoTemporal System
MediumDistributed Systems
30–45 min

Distributed Cron & Job Scheduler

Design a fault-tolerant distributed job orchestrator capable of triggering millions of delayed, recurring, and dependency-chained background tasks with at-least-once guarantees.

Scale & Traffic5 Million jobs executed/day · Millisecond trigger precision
Monthly Cloud Budget$5,000/month
Latency Target (P99)< 50ms Realtime SLA
Availability SLA99.99% Multi-AZ Active

System Requirements

  • Schedule one-time delayed jobs and recurring cron intervals
  • Worker pull model with heartbeat monitoring and automatic retry on failure
  • DAG execution for multi-step dependent workflow chains
  • Distributed lock to prevent duplicate execution across leader partitions

Graded Constraints

01Cost ceiling: $5,000/month
02Message queue (Kafka / Queue) for task distribution to worker pools
03Relational / NoSQL database for job definitions, state, and execution history
04In-memory store (Redis) for distributed leader election and timers

Ready to design?

Open this challenge in the interactive system design playground and satisfy all architecture constraints.

Explore More

Related Architecture Challenges

All Problems
Distributed Cron & Job Scheduler — System Design Problem | Mimir Nest