You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "mxh-kkk (via GitHub)" <gi...@apache.org> on 2023/06/09 02:26:32 UTC

[GitHub] [dubbo] mxh-kkk commented on issue #12481: 为什么 dubbo 的netty workerGroup 线程数默认是 Math.min(Runtime.getRuntime().availableProcessors() + 1, 32)

mxh-kkk commented on issue #12481:
URL: https://github.com/apache/dubbo/issues/12481#issuecomment-1583850376

   > 大部分应用是IO密集。Runtime.getRuntime().availableProcessors()*2 这个一般是boss线程吧,work线程会比较多,比如tomcat默认200+
   
   我不太理解您说的,boss线程数不是1吗?Runtime.getRuntime().availableProcessors()*2 比 Runtime.getRuntime().availableProcessors() + 1 数量多吧?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org