You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Galen O'Sullivan (JIRA)" <ji...@apache.org> on 2017/11/02 23:34:00 UTC

[jira] [Created] (GEODE-3948) Improve CQ performance under flaky network conditions

Galen O'Sullivan created GEODE-3948:
---------------------------------------

             Summary: Improve CQ performance under flaky network conditions
                 Key: GEODE-3948
                 URL: https://issues.apache.org/jira/browse/GEODE-3948
             Project: Geode
          Issue Type: Improvement
          Components: cq, messaging
            Reporter: Galen O'Sullivan


Client CQ connections occasionally stop receiving messages and become blocked indefinitely. 

This can be caused by a server that hangs or dies without sending a close message, or by some firewalls. 

The client already gets ping messages from the server, but currently ignores them. Let's use those messages to detect a failed connection and close it.

Probably the client should follow the same logic and send ping messages if it has sent no acks for a while, so that the server can also detect and close a broken connection.

The timeout could be specified as a number and time interval, the ping interval and the number of missed pings after which to fail.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)