Hi all,
     Recently we upgraded Ratis from 2.2.0 to 2.3.0, and found the following 
warning:

org.apache.ratis.grpc.GrpcFactory - PERFORMANCE WARNING: useCacheForAllThreads 
is true that may cause Netty to create a lot garbage objects and, as a result, 
trigger GC.
   It is recommended to disable useCacheForAllThreads by setting 
-Dorg.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads=false in 
command line. 
We are wondering if we can directly modify this useCacheForAllThreads as a 
configuration field instead of setting the system env? 

Best,
William Song

Reply via email to