<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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.<br>
    <br>
    <div class="moz-cite-prefix">Le 06/09/13 12:39, Simon MacMullen a
      &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:5229B0DD.4020302@rabbitmq.com" type="cite">On
      06/09/2013 11:28AM, Vincent Barat wrote:
      <br>
      <blockquote type="cite">
        <br>
        Let say an exchange was created by a client connection made on
        node 1 at
        <br>
        a time. Then, a producer is connected on node 2 and a consumer
        is
        <br>
        connected also on node 2 (with the&nbsp; consumer's queue also on
        node 2)
        <br>
        then all the network traffic will follow this path:
        <br>
        <br>
        producer -&gt; node 2 -&gt; node 1 -&gt; node2 -&gt; consumer
        <br>
        <br>
        instead of
        <br>
        <br>
        producer -&gt; node 2 -&gt; consumer
        <br>
        <br>
        this have a big impact on network and CPU
        <br>
      </blockquote>
      <br>
      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
      :-)
      <br>
      <br>
      [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.]
      <br>
      <br>
      Cheers, Simon
      <br>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div style="width:510px">
        <div>
          <div>
            <div
              style="text-transform:capitalize;margin-bottom:10px;padding-bottom:4px;border-bottom:1px
              #b8b8b8 dashed">
              <table width="100%">
                <tbody>
                  <tr>
                    <td> <span style="color:#7d7d7d">Vincent BARAT</span><br>
                      <i style="font:italic 10.5pt 'Times New
                        Roman',georgia,serif;color:#828282">CTO,</i> <i
                        style="font:italic 10.5pt 'Times New
                        Roman',georgia,serif;color:#828282">Capptain</i>
                    </td>
                    <td align="right"><img
                        style="display:block;height:40px"
                        src="cid:part1.02010002.00010003@capptain.com">
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
            <table border="0" width="100%">
              <tbody>
                <tr valign="top">
                  <td style="font:italic 9pt 'Times New
                    Roman',georgia,serif;color:#828282;padding-right:25px">
                    <div> <b style="color:#7d7d7d">p.</b> +33 299 656
                      913 </div>
                    <div> <b style="color:#7d7d7d">m.</b> +33 615 411
                      518 </div>
                    <div> <b style="color:#7d7d7d">e.</b> <a
                        href="mailto:vbarat@capptain.com"
                        target="_blank">vbarat@capptain.com</a> </div>
                    <div> <b style="color:#7d7d7d">w.</b> <a
                        href="http://www.capptain.com/" target="_blank">http://www.capptain.com/</a>
                    </div>
                    <div> <b style="color:#7d7d7d">a.</b> 18 rue
                      Tronchet, 75008 Paris, France </div>
                  </td>
                  <td style="font:italic 11pt 'Times New
                    Roman',georgia,serif;color:#828282;text-align:right"><a
                      href="https://www.facebook.com/capptain"
                      target="_blank"><img
                        src="cid:part4.04060502.06090209@capptain.com"></a>
                    <a href="https://twitter.com/capptain_hq"
                      target="_blank"><img
                        src="cid:part6.03090909.02050605@capptain.com"></a>
                    <a href="http://www.capptain.com/feed/"
                      target="_blank"><img
                        src="cid:part8.07040706.01090803@capptain.com"></a>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <div><a href="http://www.capptain.com/contact/" target="_blank"><img
              src="cid:part10.01010301.03080506@capptain.com" border="0"></a></div>
      </div>
      <div>
        <div
          style="margin-top:1em;padding-top:0.5em;color:gray;border-top:1px
          solid gray;font-size:90%">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.</div>
      </div>
    </div>
  </body>
</html>