Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1586

Set useCacheForAllThreads default to false

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0
    • gRPC
    • None

    Description

      When the Netty conf org.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads is set to true, it may cause Netty to create a lot garbage objects and, as a result, trigger GC. We found this problem in RATIS-534.

      Unfortunately, the Netty default is true. In this JIRA, we will set it the false in GrpcFactory when the conf is not set.
       

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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