You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/06 19:38:00 UTC
[jira] [Updated] (GEODE-9074) CacheClientProxyStatistics
messageQueueSize does not increase as events are added
[ https://issues.apache.org/jira/browse/GEODE-9074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated GEODE-9074:
----------------------------------
Labels: GeodeOperationAPI pull-request-available (was: GeodeOperationAPI)
> CacheClientProxyStatistics messageQueueSize does not increase as events are added
> ---------------------------------------------------------------------------------
>
> Key: GEODE-9074
> URL: https://issues.apache.org/jira/browse/GEODE-9074
> Project: Geode
> Issue Type: Bug
> Components: client queues
> Reporter: Darrel Schneider
> Assignee: Mario Ivanac
> Priority: Major
> Labels: GeodeOperationAPI, pull-request-available
>
> Something I observed is that while a subscription queue was "full" the default throttling caused geode to only add 10 events/sec to the queue. This makes sense. But what didn't make sense was that the messageQueueSize did not change by 10 events/sec even though, during this time, nothing was draining from the queue. Then when the draining finally started (because the CacheClientUpdater started running after a long register interest that had been blocking it) we saw a huge spike in messageQueueSize when we should have seen gradual growth.
> In addition to improving messageQueueSize it would also be nice to have a gage stat that shows how many threads are currently trying to add to the queue. The throttle logic can cause a large number of thread to be blocked.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)