Member-only story
Understanding RabbitMQ®

What is RabbitMQ®?
RabbitMQ is one of the most popular open-source message brokers: it accepts and forwards messages. It's easier to understand what makes it so important if we take the example of a post office.
What happens here? We drop off the mail we want to post at the post office! Our mail eventually gets delivered to its intended recipient. The difference between RabbitMQ and a post office is that instead of dealing with paper, it accepts, stores, and forwards binary data, called ‘messages’.
So before going on, let us first understand why we need to use a message broker. In a real system, every client wants to talk to other clients in the same or different network.
To communicate, the client has to know the other client. This is where a broker like RabbitMQ plays an important role. Instead of each client having direct knowledge about other clients, everything is grouped into the RabbitMQ server.
RabbitMQ is a general-purpose messaging solution that is used to allow web servers to quickly respond to requests rather than making the user wait while performing the procedures to handle requests. It is an open-source, distributed message queue.