But after the moment of incoming outbreak-increasing, the deliver/get will be much more than incoming and ack, like this:

As we seen, the Unacked is 24, equals to the number of consumers, and the are 109 messages wait in the queue.
But I am confusing why deliver/get is 149/s, and incoming and ack is 50/s ?
The environments is:
exchange type: topic
consumer number: 24
prefech count: 2
auto-ack: false
client: pika
Anyone can help me? Thank you!
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/0317f700-0ef7-4ca1-a5c8-7d753027c30e%40googlegroups.com.
* "deliver" refers to messages delivered as a result of basic.consume.
* "get" refers to messages that arrived in response to basic.get. * "deliver/get" is the sum of both. * "ack" just shows the ack rate, if messages are delivered with autoack then this rate can be lower or zero.
I need to add one point: each message process time is approximately 0.15-0.4s in my project.
Deliveries and acknowledgements are not coordinated unless there's a prefetch (outstanding delivery limit) [1].There is no limit by default.At a given moment in time RabbitMQ can be delivering more messages to a consumer, and some consumers may useautomatic acknowledgements [2] which means they will never ack anything and thus are "invisible" if you look at the ackrate alone. Lastly, it's possible to acknowledge N deliveries at once [3].
On Fri, Apr 3, 2020 at 6:41 AM li he <bbhe...@gmail.com> wrote:
I have a queue with 24 consumers, each consumer process messages synchronously - one is consumed after previous one acked.Normally, the consumers is enough to process the messages, and the incoming, deliver/get, ack rate is almost same, such as this:
But after the moment of incoming outbreak-increasing, the deliver/get will be much more than incoming and ack, like this:
As we seen, the Unacked is 24, equals to the number of consumers, and the are 109 messages wait in the queue.
But I am confusing why deliver/get is 149/s, and incoming and ack is 50/s ?
The environments is:
exchange type: topic
consumer number: 24
prefech count: 2
auto-ack: false
client: pika
Anyone can help me? Thank you!
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/0317f700-0ef7-4ca1-a5c8-7d753027c30e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/27345b44-cbd7-46ed-b265-2633179bac19%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/27345b44-cbd7-46ed-b265-2633179bac19%40googlegroups.com.