Notes on retrying all jobs with ActiveJob retry_on
23-Aug-2021 218
Many people use backend-specific logic for retries, especially with Sidekiq. That’s fine!I like the idea of using the ActiveJob functionality:I currently use resque (more on challenges with retry here later), but plan to switch to something else at some point medium-term. Maybe sideqkiq, but maybe delayed_job or good_job. (Just using the DB and not having a redis is attractive to me, as is open source). I like the idea of not having to redo this setup when I switch back-ends, or am trying out different ones.In general, I like the promise of ActiveJob as swappable commoditized backendsI like what I see as good_job’s philosophy here, why have every back-end reinvent the wheel when a feature can be done at the ActiveJob level? That can help keep the individual back-end smaller, and less “expensive” to maintain. good_job encourages you to use ActiveJob retries I think.
Notes on retrying all jobs with ActiveJob retry_on #ruby #rubydeveloper #rubyonrails #Notes #retrying #ActiveJob #retry_on #activejob https://rubyonrails.ba/link/notes-on-retrying-all-jobs-with-activejob-retry_on