[infinispan-issues] [JBoss JIRA] (ISPN-11561) Remove extra thread in BlockingTaskAwareExecutorServiceImpl

Will Burns (Jira) issues at jboss.org
Mon Mar 30 10:39:07 EDT 2020


Will Burns created ISPN-11561:
---------------------------------

             Summary: Remove extra thread in BlockingTaskAwareExecutorServiceImpl
                 Key: ISPN-11561
                 URL: https://issues.redhat.com/browse/ISPN-11561
             Project: Infinispan
          Issue Type: Sub-task
          Components: Core
            Reporter: Will Burns
            Assignee: Will Burns
             Fix For: 11.0.0.Dev04


The BlockingTaskAwareExecutorServiceImpl spawns a controller thread to handle requests. We should be able to remove that thread and instead use an idea similar to rxjava with processing in a single invoked thread instead as the operations it spawns are non blocking.

We should also optimize calls to avoid O(n) calls like size.



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


More information about the infinispan-issues mailing list