Steven Harman · @stevenharman
222 followers · 483 posts · Server ruby.social

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

#delayedjob

Last updated 2 years ago

Steven Harman · @stevenharman
222 followers · 482 posts · Server ruby.social

It's been years since I last used . Like, the early 2010's or so? Back then it was a mix of DJ and . Then 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

#delayedjob #resque #sidekiq #ruby #rails #opensource

Last updated 2 years ago