Exploring Celery and RabbitMQ
Celery and RabbitMQ are the most common task queue managers in the Django microservices universe. They are both open source products, and Celery only runs on Linux and macOS. Technically, Celery is a task queue manager, and RabbitMQ is a message queue manager or broker. But for Django microservices, we both use Celery and RabbitMQ for task queue management, and therefore we address them as task queue managers.
In Chapter 2, Introducing the Django Microservices Architecture, we looked into Celery and RabbitMQ. But as you might jump straight into here, let’s see what they offer. We’ll start with Celery because it’s most used in Django microservices applications and the easiest way to orchestrate microservices.
Celery
Celery is an open source task queue system written in Python and available as a Python package (https://pypi.org/project/celery/). Celery runs on top of message queue brokers such as RabbitMQ and Redis, enabling...