Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ queue messages

Tags:

rabbitmq

amqp

At the rabbitMQ web interface at the queue tab I see "Overview" panel where I found these:

Queued messages :

  • Ready
  • Unacknowledged
  • Total

I guess what is the "Total" messages. But what is "Ready" and "Unacknowledged" ? "Ready" - messages that were delivered to the consumer? "Unacknowledged" - ?

Message rates:

  • Publish
  • Deliver
  • Redelivered
  • Acknowledge

And what are these messages? Especially "Redelivered" and "Acknowledge"? What does this mean?

like image 274
tuchk4 Avatar asked Aug 07 '13 17:08

tuchk4


People also ask

What is queue messages in RabbitMQ?

Queues in RabbitMQ are ordered collections of messages. Messages are enqueued and dequeued (delivered to consumers) in the FIFO manner. FIFO ordering is not guaranteed for priority and sharded queues.

How many messages can a RabbitMQ queue hold?

Queues are single-threaded in RabbitMQ, and one queue can handle up to about 50 thousand messages.

How are messages passed in RabbitMQ?

When a consumer (subscription) is registered, messages will be delivered (pushed) by RabbitMQ using the basic. deliver method. The method carries a delivery tag, which uniquely identifies the delivery on a channel. Delivery tags are therefore scoped per channel.


1 Answers

Ready
Is the number of messages that are available to be delivered.

Unacknowledged
Is the number of messages for which the server is waiting for acknowledgement(If a client recieved the message but dont send a acknowledge yet).

Total
Is the sum of Ready and Unacknowledged messages.


About your second question:

Publish
This is the rate how many messages are incomming to the RabbitMQ server.

Deliver
This is the rate at which messages requiring acknowledgement are being delivered in response to basic.consume.

Acknowledge
Rate at which messages are being acknowledged by the client/consumer.

Redelivered
Rate at which messages with the 'redelivered' flag set are being delivered. For example if you dont got a acknowledge message for a delivered message, you will deliver this message again.

like image 178
Rene Herget Avatar answered Oct 19 '22 11:10

Rene Herget