Traversing the external components for Django microservices web applications
In Chapter 1, What Is a Microservice we’ve addressed these main components of a microservices architecture:
- Producer
- Task queue
- Worker
In the previous section, we saw that Django apps can act as producers and we can build reactive microservices (workers) in Python But for a complete microservices architecture, we also need a task queue. Furthermore, it’s desirable to have container software to facilitate the scalability and independency of the components.
Django doesn’t have task queues and containerization on board, so this is where the external components for Django microservices come into play. First, let’s look into task and message queue brokers.
Task and message queue brokers
For task and message queueing, Django collaborates with the following external components:
Component |
...