[rabbitmq-discuss] how does clustering improve performance?

PADIOU Pierre-Marie (MORPHO) pierre-marie.padiou at morpho.com
Fri Apr 15 14:14:55 BST 2011


Hello there,

I have been reading the documentation about clustering in rabbitmq. My goal is to achieve maximum performance, not availability (I am not using any persistence btw).

In a previous post on this mailing list ("some questions about rabbitmq clustering, answered"), Alexis Richardson wrote :

"A message arriving at a given node will be routed to appropriate
queues via AMQP bindings and exchange routing rules.  For queues on
that node, this means 'zero hops', and for queues on other nodes, this
means 'one hop'."

In other words, if you've got a two nodes cluster, and a bunch of clients that randomly connects to one of the nodes, it means that for each message sent from one client to a queue there is an equal chance of having zero or one 'hop'. From the point of view of a rabbit node, the throughput will be exactly the same than with a standalone broker (the output being equally divided between local clients and the other node forming the cluster), *and* the global network traffic will increase by 50%.

Can someone explain what I didn't understand?

Thanks!

Pierre-Marie

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110415/3de8bf9d/attachment.htm>


More information about the rabbitmq-discuss mailing list