Advanced
Distributed Task Scheduler
The infrastructure layer behind cron-as-a-service, delayed jobs, and workflow engines — where reliability matters more than raw speed. Build a service that runs jobs at a scheduled time or on a recurring cadence, across a fleet of worker machines, without ever running the same job twice or losing a job when a worker crashes mid-execution.
~11h
0 / 8 steps
A service that runs jobs at a scheduled time or on a recurring cadence, across a fleet of worker machines, without ever running the same job twice or losing a job when a worker crashes mid-execution.
Step 1 — Model jobs as durable state, not in-memory timers
Step 2 — Let multiple workers pull jobs without double-processing
Step 3 — Recover from a worker dying mid-job
Step 4 — Add retries with backoff
Step 5 — Support recurring schedules
Secret Mission
Secret Mission: kill a worker on purpose
Wrap Up
What you learned
Pro
Test what you just learned
Self-testing is one of the best ways to retain new skills. Unlock project quizzes to check your understanding.
Log in to unlock0 / 8 complete
