f1amingo opened a new pull request, #8838:
URL: https://github.com/apache/rocketmq/pull/8838

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   Fixes #8837
   
   ### Brief Description
   In the current implementation, a codec thread pool is set up for Netty, 
which is used to perform tasks such as encoding/decoding, and statistics.
   
   We found that removing the codec thread pool and directly assigning these 
computational tasks to the NIO selector threads results in performance 
improvement.
   
   Since these tasks do not involve IO operations, they will not block the NIO 
selector threads.
   
   Our stress test results show that removing the codec thread pool can achieve 
higher TPS (5% increase) and also reduce CPU usage (4% reduction).
   
   ### How Did You Test This Change?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to