Solid Queue is the default Active Job backend in Rails 8, storing background jobs directly in the database instead of relying on Redis. The post covers installation for new and existing Rails apps, configuring dedicated databases (SQLite, PostgreSQL, MySQL), queue priority, concurrency controls, recurring tasks, retry handling, and production deployment. Key caveats include added database load from polling, transaction visibility gotchas, no automatic retries by default, and proper concurrency lock duration settings. A migration path from Sidekiq is also outlined.

4m read timeFrom blog.saeloun.com
Post cover image
Table of contents
Why Solid Queue?InstallationDatabase ConfigurationReal World Configuration ExampleQueue Priority and OrderConcurrency ControlsRecurring TasksHandling Failed JobsRunning in ProductionCaveats and ConsiderationsMigration from SidekiqConclusion

Sort: