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 2018/10/24 21:07:00 UTC

[jira] [Updated] (GEODE-5922) SerialGatewaySenderQueue concurrency is poorly implemented

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

ASF GitHub Bot updated GEODE-5922:
----------------------------------
    Labels: pull-request-available  (was: )

> SerialGatewaySenderQueue concurrency is poorly implemented
> ----------------------------------------------------------
>
>                 Key: GEODE-5922
>                 URL: https://issues.apache.org/jira/browse/GEODE-5922
>             Project: Geode
>          Issue Type: Improvement
>          Components: wan
>            Reporter: Bruce Schuchardt
>            Assignee: Bruce Schuchardt
>            Priority: Major
>              Labels: pull-request-available
>
> This class uses synchronization on the queue to limit access to one put at a time.  Synchronization isn't a fair locking mechanism so threads can be blocked trying to add events to the queue while other more recent events get the lock and insert their events.  This causes inconsistent latency which I've observed being as long as 30 seconds, causing client connections to be shut down by the ClientHealthMonitor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)