The five steps
- Hand tasks out in order 8 min
- Retries and the dead-letter queue 9 min
- Leases that expire 10 min
- Tasks that wait on others 11 min
- Twenty thousand tasks 10 min
The work queue behind a task system: hand tasks out in order, fence each reservation with a token, retry within a budget, expire leases that go silent, hold tasks behind their dependencies, and stay fast at twenty thousand tasks.