May 2023: Do A Good Job with Scheduled & Ad-Hoc Tasks
We continue in our "get off my lawn" series of revisiting longstanding Rails problems and solutions. This month, we moved a slow computation to an async ActiveJob runner called good_job, while keeping the end to end user experience of updating the UI as soon as the job finished with its results.