Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-979 Ratis streaming
  3. RATIS-1472

make use CachedThreadPool configurable.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • server, Streaming
    • None

    Description

      By performance test, we found that the streaming performance decreased by more than 20% after RATIS-1419 was introduced into CachedThreadPool.
      So we added a configuration that lets users choose whether to use CachedThreadPool or not.

      Here are the results of a performance test using CachedThreadPool(Other configurations keep unchanged):

      Here are the results of a performance test using newFixedThreadPool(Other configurations keep unchanged):

      Attachments

        1. screenshot-2.png
          324 kB
          mingchao zhao
        2. screenshot-1.png
          330 kB
          mingchao zhao

        Issue Links

          Activity

            People

              micahzhao mingchao zhao
              micahzhao mingchao zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m