Why?
What are message queues and why use message queues? In modern cloud architecture, applications are decoupled into smaller, independent building blocks that are easier to develop, deploy and maintain. Message queues provide communication and coordination for these distributed applications.
Message queues can significantly simplify coding of decoupled applications, while improving performance, reliability and scalability. You can also combine message queues with Pub/Sub messaging in a fanout design pattern.
With this I thought I would show how simple the pika
library in python.
Read More about pika and RabbitMQ
imports
import pika
# Pika Python AMQP Client Library
code