RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes xBackground Jobs x
Sidekiq
Episode #366Jul 18, 201280 comments

Sidekiq

Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque. (10 minutes)
Queue Classic
Episode #344Apr 24, 201269 comments

Queue Classic

PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. (8 minutes)
Foreman
Episode #281Aug 29, 201143 comments

Foreman

Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move them into production. (4 minutes)
Resque
Episode #271Jun 20, 201181 comments

Resque

Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues. (12 minutes)
Beanstalkd and Stalker
Episode #243Dec 06, 201040 comments

Beanstalkd and Stalker

Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs. (9 minutes)
Delayed Job
Episode #171Jul 20, 200975 comments

Delayed Job

Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode. (10 minutes)
Cron in Ruby
Episode #164Jun 01, 200970 comments

Cron in Ruby

Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby. (8 minutes)
Monitoring with God
Episode #130Oct 05, 200849 comments

Monitoring with God

Need to ensure your background processes stay up and running and don't use too many resources? Check out the god gem as shown in this episode. (14 minutes)
Custom Daemon
Episode #129Sep 29, 200863 comments

Custom Daemon

Creating a custom daemon to handle background tasks is surprisingly simple. In this episode I will make a daemon to handle dynamically scheduled tasks. (7 minutes)
Starling and Workling
Episode #128Sep 22, 200875 comments

Starling and Workling

Need to run a task frequently in the background? Starling and Workling is a killer combination for doing just that. See how in this episode. (9 minutes)