Source: coderonfleek.medium.com

Introduction to Message Queues
Communication between these elements is done by sending data in the form of messages from one point to another, oftentimes asynchronously. In this post, we will look at one of the tools that help broker messages between the layers and services in these architectures and ensure that messages are transferred at a rate that can be handled by the intended destination service/layer.

Message queues maintain an internal queue of messages that are distributed on schedule to the intended destination.

A message queue arranges messages in a sequence to be delivered to the consumers who can then consume messages from the queue. Let’s take a look at message producers and consumers in more detail in the next section.

Related Articles