O'Reilly logo

Distributed Programming with Ruby by Mark Bates

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10 Delayed Job

This book has covered many different ways to handle background tasks. We have talked about using distributed messaging queues, such as RabbitMQ and Starling. We have discussed using token workers, such as Politics, to process those queues. We also have talked about using background servers, such as BackgrounDRb, to hand off those tasks so that they can be processed. All these approaches have their advantages and disadvantages. Some offer higher performance, some offer greater redundancy, and some offer simple interfaces.

In February 2008, Tobias Lütke1 announced the release of the Delayed Job2 plugin. This plugin was extracted from the Shopify3 project he works on. Tobias wrote Delayed Job with the idea that it would combine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required