In every non-trivial application you'll have to do something that is just slow. Maybe your application needs to export a large data set to a CSV file. Maybe your business needs a complicated Excel report to be generated. Or maybe you have a workflow that has to connect to external systems or, well, just do a lot of stuff.
But how do you know when it's time to move things to background jobs?
Matt Swanson leads teams and build products for customers at SEP, a software product design and development agency in Carmel. He’s been using Ruby in some capacity since 2010. His favorite Ruby method is Array#compact.
This talk is an adaptation of Matt's blog post:
https://boringrails.com/articles/large-exports-and-slow-reports-with-activejob/
Check out Matt's work at https://boringrails.com/
1 Comments