Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is rabbitmq used for?


Asked by Creed Ramos on Dec 10, 2021 FAQ



The RabbitMQ is built on Erlang general-purpose programming language and it is also used by WhatsApp for messaging.
Furthermore,
The RabbitMQ server program is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages.
Also Know, RabbitMQ works by offering an interface, connecting message senders (Publishers) with receivers (Consumers) through an exchange (Broker) which distributes the data to relevant lists (Message Queues).
Also,
RabbitMQ uses each messages' routing key to generate a hash value. And the hash space will be divided among all the queues that are connected to the particular exchange. We can configure the ratio that messages should be divided between the queues using the routing keys.
In respect to this,
The conceptual model of AMQP is quite simple and straightforward . It has three entities: When a publisher pushes a message to RabbitMQ, it first arrives at an exchange. The exchange then distributes copies of these messages to variously connected queues. Finally, consumers receive these messages. Consider a message as a piece of data.