⏰Distributed Task Scheduler
0 nodes · 0 edgesHint 1 — locked
Hint 2 — locked
Hint 3 — locked
⏰
Distributed Task Scheduler
● Intermediate25–35 min
Problem
Build a distributed task scheduler that executes scheduled jobs reliably — similar to cron, but at cloud scale. Clients register tasks with a schedule (one-time or recurring) and the system executes them exactly once per trigger, even across node failures.
Functional Requirements
- Register tasks with cron expression or one-time timestamp
- Trigger task execution within 1 second of scheduled time
- Guarantee at-least-once execution (prefer exactly-once)
- Support task cancellation and rescheduling
- Provide execution history and failure logs
Non-Functional
- 10M registered tasks; 100K tasks triggered per minute
- < 1 s scheduling jitter
- No task lost or double-executed on node failure
- Horizontally scalable scheduler nodes
Prerequisites
Distributed locksQueuesLeader electionIdempotency
⏰
Design your Distributed Task Scheduler
Drag components from the Brief panel → switch to Components tab
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
UML
15
Needs Work
Click a dimension to see what's missing. Score updates as you design.
Speed
RPS
Hit Play to start simulation00:00