[infinispan-issues] [JBoss JIRA] (ISPN-8339) Cache Stream response should send asynchronously
William Burns (JIRA)
issues at jboss.org
Mon Sep 25 10:45:00 EDT 2017
William Burns created ISPN-8339:
-----------------------------------
Summary: Cache Stream response should send asynchronously
Key: ISPN-8339
URL: https://issues.jboss.org/browse/ISPN-8339
Project: Infinispan
Issue Type: Bug
Components: Distributed Execution and Map/Reduce
Reporter: William Burns
Fix For: 9.2.0.Alpha1
When a cache stream completes a request it sends that back to the requestor. Currently this is using RpcManager.invokeRemotely such as [1]. This is causing the remote nodes to use a remote thread to wait for the response to process. We should instead send this asynchronously so we don't have to keep the remote thread used. This can cause exhaustion if you have too many requests since these responses are also processed on the remote thread pool.
[1] https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/stream/impl/LocalStreamManagerImpl.java#L297
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list