[rabbitmq-discuss] Ready, Unacked and Total messages of Queues

Michael Klishin mklishin at gopivotal.com
Tue Apr 15 10:00:57 BST 2014


Please keep rabbitmq-discuss in  CC.

On 15 April 2014 at 12:53:15, Juno Chan (juno at algorithmictradinggroup.com) wrote:
> > For testing purposes, I tried to set the per queue message TTL  
> value to 100 ms, and the queue really grows up more slowly(both  
> ready and unack), and it drops messages too

Expired messages are deleted, so this is expected.

>  
> However, after I added the Channel.BasicQos(0, 1, false), with  
> x-message-ttl to a higher value(e.g. 1min), when I set a breakpoint,  
> the queue was having a relatively low unack, but the ready # messages  
> are going up quite high, may I know is that the normal behaviour  
> as well?

It just means that your consumer(s) cannot keep up with publisher(s).
Add more consumers or throttle publishers.
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list