Skip to content

Conversation

@lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Oct 21, 2025

No description provided.

It was only used by CMQs and they have been removed a while back.
We avoid an extra unnecessary message to the queue.
And drop all terminology from antique CQ. Some terminology
remains in the backing_queue_SUITE, to be addressed later.
These metrics make a lot less sense in today's CQ implementation.
Today messages are either in memory about to be sent to the
consumer, or on disk because they are further down the queue.
Messages are no longer paged out to disk depending on memory
pressure. So knowing how many transient messages are on disk
is not as important. In practice almost all of them will be.
It duplicates the ?QUEUE:len and the #q_tail.count which
together provide the same value.
This should reduce the number of calls we make to the
queue's index/store and therefore improve performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants