Lesson · 13 pages · about 12 min
Design a job scheduler
Run each job at its time, once: a table indexed by the next time, claim and queue, spread the midnight burst, and keys that make retries harmless.
Words you’ll learn
- Payment provider
- Burst
- Idempotent
- Retry
- Cron
- Row
- Queue
- Worker
- Jitter
- At-least-once delivery
Page by page