You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/09 20:13:45 UTC

[jira] [Commented] (AMQ-5923) Add Pending Message Size Metrics

    [ https://issues.apache.org/jira/browse/AMQ-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737330#comment-14737330 ] 

ASF subversion and git services commented on AMQ-5923:
------------------------------------------------------

Commit 734fb7dda35285ada7bc57642215077e08c88e80 in activemq's branch refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=734fb7d ]

https://issues.apache.org/jira/browse/AMQ-5923

Adding metrics to track the pending message size for a queue and for
subscribers.  This is useful so that not only the pending count is
known but also the total message size left to consume. Also improving
the message size store tests as well.


> Add Pending Message Size Metrics
> --------------------------------
>
>                 Key: AMQ-5923
>                 URL: https://issues.apache.org/jira/browse/AMQ-5923
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>             Fix For: 5.13.0
>
>
> Right now the PendingMessageCursor keeps track of the number of pending messages (the size() method).  It would be useful to also report back the total message size besides just the count so we know how much memory or disk space is being used by pending messages. 
> Now that KahaDB is keeping track of the size of each message as of 5.12, it should be possible to report back this value in a non-blocking way.  For a Queue this is pretty straightforward but for DurableSubscriptions some work will need to be done to keep track of the message size for unacked messages for each subscription.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)