[infinispan-issues] [JBoss JIRA] (ISPN-1441) Better and more sensible executor configuration

Galder Zamarreño (JIRA) issues at jboss.org
Tue Feb 18 10:35:51 EST 2014


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

Galder Zamarreño commented on ISPN-1441:
----------------------------------------

...and to be able to decide what's the best default, *all* executor services used internally need to be configurable, which is not yet the case. This is what ISPN-1396 will give us.
                
> Better and more sensible executor configuration
> -----------------------------------------------
>
>                 Key: ISPN-1441
>                 URL: https://issues.jboss.org/browse/ISPN-1441
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Configuration
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>              Labels: executors
>
> Dan and I had a chat about ISPN-1396 and we both agreed that a better configuration and management approach is needed for Infinispan's executors:
> - Firstly, out of the box for SE environments, Infinispan should have executors configured with newCachedThreadPool because they provide better queuing performance than a fixed thread pool.
> - Sure, in an managed env (i.e. AS), this won't fly, which is why all executors need to be injectable. This should be in place once ISPN-1396 is in place.
> - So, if we go for cached thread pools for SE environments, we don't need any of the properties of executors any more. Besides, these can be more confusing for the user (there is knowledged of at least one case where things went wrong due to bad config here). So, the configuration would be limited to injecting executors. If you need any specific executor settings, pass us the right executors. To aid these cases, we could have some executor builders available with some common executor configuration for managed envs (i.e. we could borrow settings from AS?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list