You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Daniel Wong (Jira)" <ji...@apache.org> on 2020/03/31 22:00:00 UTC

[jira] [Created] (PHOENIX-5812) Automatically Close "Idle" Long Open Connections

Daniel Wong created PHOENIX-5812:
------------------------------------

             Summary: Automatically Close "Idle" Long Open Connections
                 Key: PHOENIX-5812
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5812
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Daniel Wong


As Phoenix may keep a maximum default number of connections.  Badly performing client calls or internal errors (See PHOENIX-5802).  Can cause total available connections to go to 0.  Proposing a client connection monitor with a connection reaper like task to reap idle connections.

Definition of "Idle"

Simple may be simple time based say if a connection has been open for configurable amount of minutes simply close.

More complicated solution may be keeping track of last interaction time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)