Wrangling slow reports and large file exports in Rails with ActiveJob
https://boringrails.com/articles/large-exports-and-slow-reports-with-activejob/
Sometimes we need to generate really large file exports or run reports that are just slow. It’s not enough to optimize a few queries, we need to move the work to a background job and notify the user when it’s all done.
Post a comment