[rabbitmq-discuss] Performance degrades with increasing queue depth

Chris Duncan celldee at gmail.com
Tue Sep 8 06:10:03 BST 2009

Thanks for the feedback Matthias.

On 8 Sep 2009, at 06:00, Matthias Radestock wrote:

> Aisha, Chris,
> Chris Duncan wrote:
>> 1. In your test_push.rb you have the line -
>> /msg_server.exchange(EXCHANGE).publish("This is my msg")/ // The  
>> exchange method declares an exchange, so you are doing this every  
>> time you publish a message
> I've run Aisha's original test_push.rb code through the tracer
> (http://www.rabbitmq.com/examples.html#tracer), and can see only *one*
> exchange.declare, right at the beginning. So that's not the problem.

Yes. I forgot that the exchange will be cached when it's declared, so  
one declare is all you'll get.



More information about the rabbitmq-discuss mailing list