Fangmin Lv created ZOOKEEPER-3110:
-------------------------------------

             Summary: Improve the closeSession throughput in 
PrepRequestProcessor
                 Key: ZOOKEEPER-3110
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3110
             Project: ZooKeeper
          Issue Type: Improvement
          Components: quorum
            Reporter: Fangmin Lv
            Assignee: Fangmin Lv
             Fix For: 3.6.0


On leader every expired global session will add 3 lines of logs, which is 
pretty heavy and if the log file is more than a few GB, the log for the 
closeSession in PrepRequestProcessor will slow down the whole ensemble's 
throughput. 

>From some use case, we found the prep request processor will be a bottleneck 
>when there are constantly high number of expired session or closing session 
>explicitly.

This patch is going to remove one of the useless log when prepare close session 
txns, which
 should give us higher throughput during processing large number of expire 
sessions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to