Background Jobs Without Sidekiq
Background jobs are an important part of Ruby on Rails applications for actions like sending emails or SMS messages, updating caches, or creating reports. Actions should always be pushed to the background when possible, outside of the web request, to be processed as background jobs.
To reflect that importance to Ruby on Rails, the Active Job[434] framework was added in version 4.2. With native background jobs support, part of the goal was to consolidate different libraries into a unified API.
Sidekiq grew to become the most popular background job framework for Ruby on Rails,[435] and has been used to great success for more than a decade. However, these days we may wish to bring that workload into PostgreSQL to ...
Get High Performance PostgreSQL for Rails now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.