[jboss-jira] [JBoss JIRA] (JGRP-2039) RpcDispatcher: async RPCs should be invoked immediately
Bela Ban (JIRA)
issues at jboss.org
Mon Jul 11 04:16:00 EDT 2016
[ https://issues.jboss.org/browse/JGRP-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263534#comment-13263534 ]
Bela Ban commented on JGRP-2039:
--------------------------------
Works as designed: when 5 RPCs which return futures are invoked, sometimes it took more than 5s for all futures to complete.
The reason was that messages in batches (even of OOB messages) were processed by a thread from the OOB thread pool one-by-one. There are 2 solutions to make this processing parallel:
# one
# two
Unit test is {{RpcDispatcherTest.testMultipleFutures()}}
> RpcDispatcher: async RPCs should be invoked immediately
> -------------------------------------------------------
>
> Key: JGRP-2039
> URL: https://issues.jboss.org/browse/JGRP-2039
> Project: JGroups
> Issue Type: Bug
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0
>
>
> Invoking async RPCs in rapid succession on a method that sleeps for 5 secs should lead to getting all results after 5 secs.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list