Summary
This chapter covered the heart of developing Django microservices and started by introducing task queues and different task queue scenarios such as work queues and Publish-Subscribe.
Next, we looked at Celery and RabbitMQ, the most common task queue managers and brokers for Django applications. Both are open source tools but have different approaches for offloading tasks to microservices.
From there, we created and tested Celery- and RabbitMQ-based asynchronous tasks or microservices. This double approach gave us a good insight into the specifics of Celery and RabbitMQ so that we can select the best tool to meet application requirements.
Finally, we looked into task monitoring from a developer perspective.
With this, we have mastered the development and orchestration of Django microservices. In the next chapter, we’ll learn how to test our microservices.