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/30 10:06:00 UTC

[jira] [Resolved] (SCB-1136) change default settings of sync executor

     [ https://issues.apache.org/jira/browse/SCB-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wujimin resolved SCB-1136.
--------------------------
       Resolution: Done
    Fix Version/s: java-chassis-1.2.0

> 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
>            Assignee: wujimin
>            Priority: Major
>             Fix For: java-chassis-1.2.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)