activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AMQ-6375) Add non-blocking subscription statistics to KahaDB
Date Tue, 26 Jul 2016 16:05:20 GMT


ASF subversion and git services commented on AMQ-6375:

Commit cf3d419528e5596c1226b5ca11ed37e8039bc006 in activemq's branch refs/heads/master from
[;h=cf3d419 ]

Adding non-blocking metrics to KahaDB to track message counts and sizes
for subscriptions.  Turned off by default but can be enabled on the

> Add non-blocking subscription statistics to KahaDB
> --------------------------------------------------
>                 Key: AMQ-6375
>                 URL:
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker, KahaDB
>    Affects Versions: 5.13.4
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
> 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

View raw message