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 ...

Get Distributed Programming with Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.