How to explain more quorum queues will consume more memory resources in case of producing same amount of message volumes #1337
-
I have 3 nodes rabbitmq cluster to declare quorum queues. Tested against cluster with different scenarios (the value means percentage of 4GB memory consuming):
So I want to know what causes the quorum queue consume more memory with the same amount of messages generated ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This should answer at least some questions: https://www.rabbitmq.com/quorum-queues.html#resource-use Moreover:
|
Beta Was this translation helpful? Give feedback.
-
Thanks mkuratczyk. I'm very appreciate for our conversation to talk about this question. |
Beta Was this translation helpful? Give feedback.
It's definitely a contributing factor. But please do not conclude from this that you should use 1 queue for the best performance. :) Like everything, it's a tradeoff between the business needs (ordering of messages), parallelism (a single Erlang process can only use 1 CPU at a given time) and other factors such as memory usage.
You are asking interesting questions but there are no trivial answers here. It's a combination of RabbitMQ design, Erlang runtime and configuration, operating system memory management and exact timing of many events.