What happens if the RabbitMQ clients are connected to follower nodes instead of leader nodes for quorum queues? #10266
-
Hi All, Till now am using a single node cluster. And now started working towards the multi node cluster. In the process have this question of how quorum queue follower nodes will handle publishers or consumers. Am looking for a documentation link for the same. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In terms of functionality, it's completely transparent. In terms of performance - there's a bit of cost since publishing happens on the leader so the node that handles the client connection needs to talk to a different node (RPC) which handles the queue leader. Consumption can happen directly from the follower. https://blog.rabbitmq.com/posts/2020/06/quorum-queues-local-delivery/ |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
In terms of functionality, it's completely transparent. In terms of performance - there's a bit of cost since publishing happens on the leader so the node that handles the client connection needs to talk to a different node (RPC) which handles the queue leader. Consumption can happen directly from the follower.
https://blog.rabbitmq.com/posts/2020/06/quorum-queues-local-delivery/