[rabbitmq-discuss] How list exchanges managed by a given node ?

Vincent Barat vbarat at capptain.com
Fri Sep 6 14:35:30 BST 2013


OK, thanks for the reply. I understand your point: I'll do more 
investigations to figure out why my traffix is routed this way. 
Maybe I did something wrong.

Le 06/09/13 12:39, Simon MacMullen a écrit :
> On 06/09/2013 11:28AM, Vincent Barat wrote:
>>
>> Let say an exchange was created by a client connection made on 
>> node 1 at
>> a time. Then, a producer is connected on node 2 and a consumer is
>> connected also on node 2 (with the  consumer's queue also on node 2)
>> then all the network traffic will follow this path:
>>
>> producer -> node 2 -> node 1 -> node2 -> consumer
>>
>> instead of
>>
>> producer -> node 2 -> consumer
>>
>> this have a big impact on network and CPU
>
> I really don't think that's the case. Exchanges are routing logic 
> that runs in the publishing channel process. The exchange, 
> bindings and queues are looked up in Mnesia beforehand, but Mnesia 
> distributes copies to all nodes so it's just a memory lookup. Then 
> the exchange does some routing logic locally. That's it. Honest :-)
>
> [NB: the above is true for the built-in exchange types, it's not 
> impossible to write an exchange type where routing logic gets made 
> in a single process somewhere. But we haven't done that.]
>
> Cheers, Simon
>

-- 
Vincent BARAT
/CTO,/ /Capptain/ 	

*p.* +33 299 656 913
*m.* +33 615 411 518
*e.* vbarat at capptain.com <mailto:vbarat at capptain.com>
*w.* http://www.capptain.com/
*a.* 18 rue Tronchet, 75008 Paris, France
	<https://www.facebook.com/capptain> 
<https://twitter.com/capptain_hq> <http://www.capptain.com/feed/>

<http://www.capptain.com/contact/>
IMPORTANT: The contents of this email and any attachments are 
confidential. They are intended for the named recipient(s) only. If 
you have received this email by mistake, please notify the sender 
immediately and do not disclose the contents to anyone or make 
copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1360992061.png
Type: image/png
Size: 12107 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook.png
Type: image/png
Size: 533 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter.png
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blogRSS.png
Type: image/png
Size: 691 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig-banner2.png
Type: image/png
Size: 19490 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130906/8d367333/attachment-0004.png>


More information about the rabbitmq-discuss mailing list