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

Improving leader efficiency via not processing learner's requests in commit processor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.7.0
    • None

    Description

      Currently, all the requests forwarded from learners will be processed like the locally received requests from leader's clients, which is non-trivial effort and not necessary to process those in CommitProcessor with session queue create/destroy

      To improve the efficiency, we could skip processing those requests in leader's commit processor. Based on the benchmark, this optimization improved around 30% maximum write throughput for read/write mixed workload.

      Attachments

        Issue Links

          Activity

            People

              lvfangmin Fangmin Lv
              lvfangmin Fangmin Lv
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 2h 10m
                  2h 10m