nayanchandni / docker-django-celery-rabbitmq

Implementation of Async Task Processing through celery and rabbitmq message broker.Using redis as result backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Every module runs as a container: 1.web - acts as the celery master here (also acts as the message broker and defines tasks) 2.worker - celery worker that picks up tasks 3.redis - result backend 4.rabbit - RabbitMQ the message queue

Running the containers:

$docker-compose up --build (by default brings up one worker)

To bring up more than one worker,use command -

$docker-compose scale worker=4

Note : The flower folder contains the flower(celery monitoring tool) which can be integrated later.

About

Implementation of Async Task Processing through celery and rabbitmq message broker.Using redis as result backend.


Languages

Language:Python 58.5%Language:HTML 16.4%Language:JavaScript 14.4%Language:CSS 10.4%Language:Shell 0.3%