Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3110

Improve the closeSession throughput in PrepRequestProcessor

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              lvfangmin Fangmin Lv
              lvfangmin Fangmin Lv
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h