Thanks,�<div><br></div><div><div>I&#39;ve finally made a plugin to do that. I think what I wanted to do It cannot be possible with mechanism you sent me in the email.�</div><div><br></div><div>The plugin is here <a href="https://github.com/flopezluis/rabbitmq-throttling-exchange">https://github.com/flopezluis/rabbitmq-throttling-exchange</a>, It has a lot to improve and certainly I&#39;m not sure of the impact of this exchange in the performance of rabbitmq.</div>
<div><br></div><br><div class="gmail_quote">2012/7/24 Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
On 23/07/12 18:20, F�lix wrote:<br>
&gt; Is there anything similar in rabbitmq?<br>
<br>
Yes, the broker has a connection-based flow control mechanism - see<br>
<a href="http://www.rabbitmq.com/memory.html#per-connection" target="_blank">http://www.rabbitmq.com/memory.html#per-connection</a><br>
and a blog post that explains further:<br>
<a href="http://www.rabbitmq.com/blog/2012/04/17/rabbitmq-performance-measurements-part-1/" target="_blank">http://www.rabbitmq.com/blog/2012/04/17/rabbitmq-performance-measurements-part-1/</a><br>
<br>
Bear in mind that blocking an Erlang process will lead to a backlog in<br>
its internal mailbox without slowing down the network. Also, the<br>
exchange is not a natural control point for bandwidth limiting, because<br>
an exchange is not a process. A channel would be a more natural choice.<br>
You may be able to adapt the existing flow control mechanism to grant<br>
credits based on bandwidth rather than message count.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-Emile<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.linkedin.com/in/flopezluis" target="_blank">http://www.linkedin.com/in/flopezluis</a><br><br>It&#39;s easier to ask forgiveness than it is to get permission<br>
<br><br>&quot;.....it doesn&#39;t matter how many times you fail. It doesn&#39;t matter how many times you almost get it right. No one is going to know or care about your failures, and either should you. All you have to do is learn from them and those around you because...All that matters in business is that you get it right once. Then everyone can tell you how lucky you are.&quot;<br>
--Mark Cuban&quot;<br><br>&quot;Always be the worst guy in every band you&#39;re in.&quot; If you&#39;re the best guy there, you need to be in a different band. And I think that works for almost everything that&#39;s out there as well.&quot; Pat Metheny<br>

</div>