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

Bruce J Schuchardt resolved GEODE-5922.
---------------------------------------
    Resolution: Won't Fix

The fix for this problem has been reverted on develop and all support branches. 
 The change to use a fair lock instead of Java synchronization caused queuing 
to be about 3x slower under heavy load.

> 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 J Schuchardt
>            Assignee: Bruce J Schuchardt
>            Priority: Major
>              Labels: blocks-1.14.0​, pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to