Tuesday, July 12, 2022

[FIXED] How does rabbitmq cluster store message that routing to different nodes

Issue

RabbitMQ can send one message to different queues through exchange. While queueA and queueB on different node accept same message, will these two nodes store the message respectively on their own disk or using a common database to store this message once for sharing between nodes?


Solution

RabbitMQ in cluster does not share the same database-messages.

Each node has its own local database.

If want to learn more about that, I suggest to read: https://github.com/rabbitmq/internals/blob/master/queues_and_message_store.md



Answered By - Gabriele Santomaggio
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.