[rabbitmq-discuss] Ready, Unacked and Total messages of Queues
juno at algorithmictradinggroup.com
Wed Apr 16 04:39:52 BST 2014
Hi Matthias and MK,
In addition, when I set the prefetch count to 1, there should be only 1
message delivered to the queue, why in my testing code, there are still
unack message#>1 ?
if the prefetch count is 1, unack message should always be in (0,1), and
ready message #will be increasing. will the increasing of ready message
count harming the performance on publisher (i.e. cannot publish anything,
or causing publishing application/machine got stuck)? Though ready message
# theoretically does not harm rabbitMQ if not much diskI/O
Thanks very much
On Tue, Apr 15, 2014 at 5:23 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> On 15/04/14 10:00, Michael Klishin wrote:
>> On 15 April 2014 at 12:53:15, Juno Chan (juno at algorithmictradinggroup.com)
>>> 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.
> ...or increase your prefetch count.
Algorithmic Trading Group (ATG) Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss