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

Improve the throughput by optimizing the synchronization around outstandingChanges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None

    Description

      The "processRequest(Request request)" function in FinalRequestProcessor.java synchronizes around `outstandingChanges` for all requests now. However, this synchronization is unnecessary for read requests, and skipping such synchronization for reads can improve the overall throughput of the request processor pipeline.

      Attachments

        Issue Links

          Activity

            People

              yisong-yue Yisong Yue
              yisong-yue Yisong Yue
              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 - 1h
                  1h