【正文】
hoice ? Celery (a Django task management app) ? Carrot (Django middleware) ? PyAMQP (Python module) ? RabbitMQ (MQ Broker software) The Production System Webapp Database Worker Server(s) Celery Rabbit MQ MQ in Development Environs It is important to be able to develop Message Queue tasks in Django without being concerned about running the broker process, queue setup, persistence etc. MQ in Development Environs ? Carrot can be set up to use different queuing backend for development purposes ? GhettoQ provides database backend for carrot where a database serves as the queue storage ? The broker is a simple Django application that monitors the queue in DB ? Inefficient, therefore only suitable for development environments CARROT_BACKEND = ‘’ Ease a future MQ implementation Isolate functionality into reusable ponents. Recycle Existing Code Django, HTTP Requests MQ ? Most functionalities provided throughDjangoapplications are tightly coupled with HTTP requests . form data processing ? In order to asynchronously execute a task, Celery (any task management p