RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: background xBackground Jobs x
Sidekiq
Episode #366 – Jul 18, 2012 – 80 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)
Facebook Open Graph
Episode #363 – Jul 02, 2012 – 60 comments

Facebook Open Graph

This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process. (11 minutes)
Queue Classic
Episode #344 – Apr 24, 2012 – 69 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)
Delayed Job (revised)
Episode #171 – Jan 07, 2012 – 62 comments

Delayed Job (revised)

Long requests should be moved into a background process, and Delayed Job is one of the easiest ways to do this because it works with an Active Record database. (8 minutes)
Rake in Background
Episode #127 – Sep 15, 2008 – 62 comments

Rake in Background

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode. (10 minutes)
Resque
Episode #271 – Jun 20, 2011 – 81 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 #243 – Dec 06, 2010 – 40 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 #171 – Jul 20, 2009 – 75 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)
Starling and Workling
Episode #128 – Sep 22, 2008 – 75 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)
Custom Daemon
Episode #129 – Sep 29, 2008 – 63 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)