[infinispan-issues] [JBoss JIRA] (ISPN-12029) Replace Blocking Executor with an EnhancedQueueExecutor

Tristan Tarrant (Jira) issues at jboss.org
Tue Jun 30 15:14:04 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-12029:
-----------------------------------
    Fix Version/s: 11.0.2.Final
                       (was: 11.0.1.Final)


> Replace Blocking Executor with an EnhancedQueueExecutor
> -------------------------------------------------------
>
>                 Key: ISPN-12029
>                 URL: https://issues.redhat.com/browse/ISPN-12029
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>            Reporter: Will Burns
>            Assignee: Will Burns
>            Priority: Major
>             Fix For: 12.0.0.Final, 11.0.2.Final
>
>
> The blocking executor today uses a simple ThreadPoolExecutor. Unfortunately, this means that we will eventually start all configured threads (since core = max and we require a queue). Setting core size to less than max is not desirable as well as it will enqueue additional tasks rather than spawn a thread.
>  
> The EnhancedQueueExecutor does exactly what we want and also has some additional features. We should utilize this which will keep our blocking thread pool size down during times of less activity.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list