Hi, wjm. Thank you for your sharing. As you say that if CPU count is less than 8, it's suggested that the thread-count is set to the CPU count. There is still a doubt for me. In the synchronous mode, since the business logic runs in business thread pool, i.e. the executor, don't we need to leave some CPU cores for the business ?
Yours sincerely Yao Haishi yhs0...@163.com On 1/24/2019 09:38??bismy<bi...@qq.com> wrote?? +1 ------------------ ???????? ------------------ ??????: "zzzwjm"<zzz...@gmail.com>; ????????: 2019??1??24??(??????) ????9:30 ??????: "dev"<dev@servicecomb.apache.org>; ????: [discuss] change default value of verticle instance count currently, we created four type verticle for net send/receive and reactive business logic: - rest client verticle - rest server verticle - highway client verticle - highway server verticle instances of them controlled by configurations: - servicecomb.rest.server.thread-count - servicecomb.rest.client.thread-count - servicecomb.highway.server.thread-count - servicecomb. highway.client.thread-count default value of the configurations are set to 1 all, because framework can not know what's the best value for them, so we set the conservative value these default values makes almost all customers need to optimize the configuration, it's not so good. so suggest the default values to be: - if cpu count less than 8, then thread-count set to cpu count - if cpu count equals or big than 8, then thread-count set to 8