zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] lvfangmin opened a new pull request #1027: [ZOOKEEPER-3473] Improving successful TLS handshake throughput with concurrent control
Date Sun, 28 Jul 2019 19:42:25 GMT
lvfangmin opened a new pull request #1027: [ZOOKEEPER-3473] Improving successful TLS handshake
throughput with concurrent control
URL: https://github.com/apache/zookeeper/pull/1027
 
 
   When there are lots of clients trying to re-establish sessions, there might be lots of
half finished handshake timed out, and those failed ones keep reconnecting to another server
and restarting the handshake from beginning again, which caused herd effect.
    
   And the number of total ZK sessions could be supported within session timeout are impacted
a lot after enabling TLS.
    
   To improve the throughput, we added the TLS concurrent control to reduce the herd effect,
and from out benchmark this doubled the sessions we could support within session timeout.
   
   E2E test result:
   
   Tested performance and correctness from E2E. For correctness, tested both secure and insecure

   connections, the outstandingHandshakeNum will go to 0 eventually.
   
   For performance, tested with 110k sessions with 10s session timeout, there is no session
expire when leader election triggered, while before it can only support 50k sessions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message