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/04/01 16:10:01 UTC
[jira] [Resolved] (SCB-1232) make GroupExecutor configuration
compatible to old version
[ https://issues.apache.org/jira/browse/SCB-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wujimin resolved SCB-1232.
--------------------------
Resolution: Done
Fix Version/s: java-chassis-1.2.0
> make GroupExecutor configuration compatible to old version
> ----------------------------------------------------------
>
> Key: SCB-1232
> URL: https://issues.apache.org/jira/browse/SCB-1232
> 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
>
> expect to work like tomcat thread pool
> but jdk standard thread pool's behavior is different:
> JDK standard thread pool rules:
> * 1.use core threads.
> * 2.if all core threads are busy, then queue the request.
> * 3.if queue is full, then create new thread util reach the limit of max threads.
> * 4.if queue is full, and threads count is max, then reject the request.
>
> to do what we want, need to lock the executor several times for one task, that's too bad
> so only make compatible to old version temporary
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)