You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/08/18 04:03:15 UTC

[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2513: servicecomb.rest.server.verticle-count、servicecomb.rest.client.verticle-count默认值是否合理

liubao68 edited a comment on issue #2513:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2513#issuecomment-900794613


   这个数据偏差不是很大。 性能考虑的场景比较多, 比如要考虑业务本身的时延。 在实际场景下, 过多的vertical-count对于提升性能帮助不是很大,因为繁忙的不是event-loop,而是业务线程。 
   
   这个参数默认值为8而不是核数的两倍,是考虑到核数很小的情况下, 两倍并不是一个合理的参数。 对于更大的核数的场景, 提升event-loop效率对于系统性能提升意义不大。 
   
   另外,最新版本也提供了对于event-loop线程个数的设置选项。可以不完全是核数*2。 


-- 
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: commits-unsubscribe@servicecomb.apache.org

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