You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Fangmin Lv (JIRA)" <ji...@apache.org> on 2018/08/07 00:33:00 UTC

[jira] [Updated] (ZOOKEEPER-3110) Improve the closeSession throughput in PrepRequestProcessor

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

Fangmin Lv updated ZOOKEEPER-3110:
----------------------------------
    Description: 
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 JIra 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.

  was:
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.


> 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
>            Priority: Minor
>             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 JIra 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)