A subscription is required to view this video. Enroll Today

Ruby

Delayed Job

  • aimeebooth
  • 2163 views

This introductory screencast describes how to use the Delayed Job gem for executing long-running tasks in the background of a Rails application. Starting with building a simple app that sends a mailer, we demonstrate sending the mailer manually, and then we refactor it to be fired off as a delayed job.

Resources

Comments

Faculty

jacob said

@fooheyy Sidekiq is more similar to Resque than DelayedJob. I would say Resque vs DelayedJob is just as applicable to Sidekiq vs DelayedJob.

So, I wouldn't say Sidekiq makes DelayedJob outdated, but you could very well make the argument that Sidekiq makes Resque outdated.

Tim Knight said

Awesome job! I've been wanting to dig more into delayed_job and this was great. And anyone that adds a Finding Forrester reference to a screencast is okay in my book.

Download

Share