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

   ## What is the purpose of the change
   
   Part of #10462
   
   Optimize thread pool sizes for commit and fetch executors to reduce idle 
thread count while maintaining throughput.
   
   ## Brief changelog
   
   - Reduce core pool from `max(16, processors*4)` to `max(4, processors)`
   - Set max pool to `max(16, processors*2)` instead of equal to core
   - Allows idle thread recycling (`keepAliveTime=1min` was already set)
   - Extract `processors` variable to avoid repeated `Runtime.getRuntime()` 
calls
   
   ## Verifying this change
   
   - [x] `mvn compile` succeeds
   - [x] `mvn test -pl tieredstore` passes (112 tests, 0 failures)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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