
看了这个表格,具体的一列总是看不是很明白。查了一下:
Pending Queue Size - The number of messages in the queue that have yet to be delivered to any client Dispatched Counter - The number of message in the queue that have been delivered to a client, but not yet acknowledged Enqueue Counter - The number of messages that have been sent to this queue Dequeue Counter - the number of messages that have been consumed from this queue
经过实际测试之后:
Pending Queue Size:是当前还没有被接收的消息数量。
Dispatched Queue Size:是当前已经被客户端接收,但还没有ack回执同时commit的消息数量。
Dispatched Counter:计数器;计算被客户端接收的次数,不管有没有收到加热。
Enqueue Counter:入队列的消息数
Dequeue Counter:出队列的消息数(既已被客户端以接收并回执)
计算公式为:
Enqueue Counter = Pending Queue Size + Dispatched Queue Size + Dequeue Counter
以下是从官网截取:
-
Enqueue Count - the total number of messages sent to the queue since the last restart - Dequeue Count - the total number of messages removed from the queue (ack'd by consumer) since last restart
- Inflight Count - the number of messages sent to a consumer session and have not received an ack
- Dispatch Count - the total number of messages sent to consumer sessions (Dequeue + Inflight)
- Expired Count - the number of messages that were not delivered because they were expired
本文详细解释了消息队列中的关键指标,包括PendingQueueSize(待处理消息数)、DispatchedCounter(已发送未确认消息数)、EnqueueCounter(入队列消息数)和DequeueCounter(出队列消息数)。并通过实际测试给出了这些指标之间的计算关系。
172万+

被折叠的 条评论
为什么被折叠?



