You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2016/07/28 17:26:20 UTC

[jira] [Resolved] (AMQ-6375) Add non-blocking subscription statistics to KahaDB

     [ https://issues.apache.org/jira/browse/AMQ-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon resolved AMQ-6375.
-----------------------------------------
    Resolution: Fixed

> Add non-blocking subscription statistics to KahaDB
> --------------------------------------------------
>
>                 Key: AMQ-6375
>                 URL: https://issues.apache.org/jira/browse/AMQ-6375
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker, KahaDB
>    Affects Versions: 5.13.4
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>             Fix For: 5.14.0
>
>
> Currently KahaDB TopicMessageStore supports returning the messageCount and messageSize for subscription but this requires locking the index and iterating to compute the information.  I have a use case where I query this information regularly for the status of the broker and the performance takes a hit because of the locking.
> There should be an option to enable statistics counters to keep track of this information so that it can be queried without locking, such like the store currently tracks the total count and size but for each subscription also.  
> This should be disabled by default because there will be some overhead for computing the metrics if there are a lot of subscriptions in the store.



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