You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:05 UTC

[jira] [Closed] (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 ]

Owen Nichols closed GEODE-9074.
-------------------------------

> 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
>             Fix For: 1.15.0
>
>
> 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 gauge 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.20.7#820007)