Task management with Redis and Celery

Celery, an asynchronous task queue project available at http://www.celeryproject.org, is based on distributed message passing and allows execution of individual tasks. With Celery, you can specify different message broker backends, with Redis being one of the supported message brokers. In a basic use case for Celery, a Celery application or instance is created for handling such operations as creating tasks and managing workers that respond to those tasks.

To show how Celery can be used in a simple application, we'll implement an application based on the following scenario: a small school district with a single high school wants a class room reservation system for after-school activities. While there are many ...

Get Mastering Redis 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.