The guide
Eight chapters covering durable handoffs, retries, idempotency, queue isolation, scheduling, checkpoints, and recovery.
Rails Implementation Guide
Reliable async work with Active Job and Solid Queue.
Moving work out of a request is easy. The harder part is making sure it still happens when enqueueing fails, a job runs twice, or a worker stops halfway through.
PDF, EPUB, HTML, Rails reference app, and Agent Companion

Follow a Rails 8.1 app as it generates reports, delivers reminders, imports large CSVs, and handles an external operation whose result can be uncertain.
Eight chapters covering durable handoffs, retries, idempotency, queue isolation, scheduling, checkpoints, and recovery.
A runnable Rails 8.1 app with PostgreSQL and Solid Queue, plus tests for the failure cases behind the examples.
Contracts, recipes, and review checklists for changing background jobs in an existing Rails app.
Read the chapter on what happens between committing the application record and publishing the job.
Read the free chapter →Also included in the Developer Library.