[
https://issues.jboss.org/browse/ISPN-1294?page=com.atlassian.jira.plugin....
]
Manik Surtani updated ISPN-1294:
--------------------------------
Fix Version/s: 5.2.0.Alpha4
5.2.0.Final
Affects Version/s: 5.1.0.FINAL
Priority: Critical (was: Major)
Description:
Looking into
{code}org.infinispan.distexec.DefaultExecutorService.invokeLocally(DistributedRunnableFuture<T>){code}
It seems that the operations are performed in the same thread as the invoker; if we happen
to send multiple operations to the local node, these are performed in sequence, and in
sequence with the remote operations. We should use an Executor for the local tasks.
*Edit by Manik*:
After discussing with Sanne and Vladimir, I am reopening this issue as it isn't really
a duplicate of ISPN-1274. This is more about being able to take a task and run the task,
locally, using multiple threads (not just on a separate thread). Essentially a lot closer
to Fork/Join, but with the ability to run this on multiple nodes. The degenerate case
would possibly look a lot like the JDK's F/J, on a single node.
was:
Looking into
{code}org.infinispan.distexec.DefaultExecutorService.invokeLocally(DistributedRunnableFuture<T>){code}
It seems that the operations are performed in the same thread as the invoker; if we happen
to send multiple operations to the local node, these are performed in sequence, and in
sequence with the remote operations. We should use an Executor for the local tasks.
Run local operations from a DistributedExecutor in parallel
-----------------------------------------------------------
Key: ISPN-1294
URL:
https://issues.jboss.org/browse/ISPN-1294
Project: Infinispan
Issue Type: Enhancement
Affects Versions: 5.1.0.FINAL
Reporter: Sanne Grinovero
Assignee: Vladimir Blagojevic
Priority: Critical
Fix For: 5.2.0.Alpha4, 5.2.0.Final
Looking into
{code}org.infinispan.distexec.DefaultExecutorService.invokeLocally(DistributedRunnableFuture<T>){code}
It seems that the operations are performed in the same thread as the invoker; if we
happen to send multiple operations to the local node, these are performed in sequence, and
in sequence with the remote operations. We should use an Executor for the local tasks.
*Edit by Manik*:
After discussing with Sanne and Vladimir, I am reopening this issue as it isn't
really a duplicate of ISPN-1274. This is more about being able to take a task and run the
task, locally, using multiple threads (not just on a separate thread). Essentially a lot
closer to Fork/Join, but with the ability to run this on multiple nodes. The degenerate
case would possibly look a lot like the JDK's F/J, on a single node.
--
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