[jboss-jira] [JBoss JIRA] (WFLY-6513) Provide an option to configure Weld global thread pool size

Rostislav Svoboda (JIRA) issues at jboss.org
Thu Apr 21 02:58:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194937#comment-13194937 ] 

Rostislav Svoboda commented on WFLY-6513:
-----------------------------------------

I think in some cases it does make sense to configure the thread pool size. We have machine with 48 cores and it's waste of threads, 8 threads would be sufficient. To have it configurable could avoid some questions or change requests from customers. But the final word is on you ;)

> Provide an option to configure Weld global thread pool size 
> ------------------------------------------------------------
>
>                 Key: WFLY-6513
>                 URL: https://issues.jboss.org/browse/WFLY-6513
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: CDI / Weld
>            Reporter: Tomas Remes
>            Assignee: Martin Kouba
>            Priority: Minor
>
> As mentioned in https://issues.jboss.org/browse/WFLY-4653 it could be useful to have an option to configure Weld thread pool size e.g. in standalone configuration. Currently the size of the thread pool is hardcoded at https://github.com/wildfly/wildfly/blob/master/weld/src/main/java/org/jboss/as/weld/services/bootstrap/WeldExecutorServices.java#L51
> However note that this thread pool is used ONLY during the bootstrap of the Weld container.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list