home.social

#delayedjob — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #delayedjob, aggregated by home.social.

fetched live
  1. There has been a... grumpy-bump... in one of my cooperatives' infrastructure.

    The founder had rolled his own auto-scaler, which SIGTERMs our workers every ~3 minutes, causing background jobs to get retried ~4+ hours later.

    Today, I removed it completely, and configured #JudoScale.

    #Rails #Ruby #DelayedJob #Heroku

  2. @mat We are using Postgres. We were on a mix of #DelayedJob and #Resque, but recently totally replaced Resque with #Sidekiq. We're migrating DJ jobs over as we need to/touch them in any significant way.

    We've moved everything to latency-based queues - Sidekiq and DJ both - and it's been a great change!

  3. This toot brought to you by me spelunking the #DelayedJob code trying to figure out why one of our workers was dying every 4 hours due to OOM’ing.

  4. It's been years since I last used #DelayedJob. Like, the early 2010's or so? Back then it was a mix of DJ and #Resque. Then #Sidekiq came on the scene, I moved over pretty quickly.

    Anyhow, the point is, I was under the impression that DelayedJob doesn't have a mechanism to recover from jobs that crash/SIGKILL’d (like, think OOM or something). And to be fair, DJ itself doesn't. But the ActiveRecord backend does, though it's not really advertised. github.com/collectiveidea/dela

    #Ruby #Rails #OpenSource