Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
Description
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
Attachments
Issue Links
- links to