You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2019/01/25 08:38:00 UTC
[jira] [Created] (SCB-1136) change default settings of sync
executor
wujimin created SCB-1136:
----------------------------
Summary: change default settings of sync executor
Key: SCB-1136
URL: https://issues.apache.org/jira/browse/SCB-1136
Project: Apache ServiceComb
Issue Type: Task
Components: Java-Chassis
Reporter: wujimin
currently we provide a default sync invocation executor:
* default integrate two fixed thread pool
* thread count for one pool is equals cpu countfor most customers, thread count of one pool is too small, and fixed thread pool is not so good, so will change to:
* default integrate two ThreadPoolExecutor
* support to configure core/max thread count, keepAlive time and max queue size for one pool
* default core thread: 25, same to tomcat
* default max thread: 100, tomcat is 200, because we have 2 pool, so change to 100
* default keepAlive: 1 minute, same to tomcat
* default max queue size: Integer.MAX_VALUE, same to tomcat
or default integrate only one ThreadPoolExecutor?
because most customers TPS is not so high, no need to do this optimize
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)