+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

Reply via email to