background-jobs
Design background job systems that don't lose or double work — enqueue-after-commit, retry policies with jitter, idempotent handlers, visibility timeouts, priority lanes, scheduled and recurring jobs, worker scaling, and observability for async work. With a runnable retry-policy check.
Included with Vanara Pro ($10/mo) — unlocks all 206 items. See pricing →
Overview
A background job is a promise your API made and deferred: the user got a 200, and the work had better happen. Everything in job-system design flows from two facts — workers crash mid-job, and queues deliver at-least-once. This skill covers enqueueing correctly, retrying sanely, and running workers at scale. Deep detail in references/; a retry-policy simulator and job envelope in examples/; the pol
What it covers
- Enqueue correctly (most job bugs start here)
- The job envelope
- Retry policy
- Visibility timeout (the sneaky one)
- Scheduling and recurring work
- Workers and capacity
- Idempotent Job Handlers
- Scheduling and Fairness