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

ASF GitHub Bot updated ZOOKEEPER-3682:
--------------------------------------
    Labels: pull-request-available  (was: )

> Stop initializing new SSL connection if ZK server is shutting down
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3682
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3682
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Jie Huang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>
> ZK keeps accepting new connections while it's being shut down then 
> immediately close them when it finds out that the ZK server is not running. 
> It's not a big deal before SSL is enabled since creating TCP connections is 
> relatively cheap.
>  
> With SSL being widely enabled,  creating SSL connections involves handshake 
> that takes non-trivial CPU time, which is wasted since the connections are 
> closed right after. 
>  
> This JIRA is going to stop initializing TLS handshake if the zkServer is not 
> serving to save resources.



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

Reply via email to