[infinispan-issues] [JBoss JIRA] (ISPN-2154) Use JGroups' anycast when sending messages to multiple target

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Jul 19 06:10:06 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706727#comment-12706727 ] 

Manik Surtani commented on ISPN-2154:
-------------------------------------

Make sure you discuss this properly on the list first - there used to be an issue with ANYCAST that caused it to block in certain cases, which is why I wrote the parallel response wait code in the CommandAwareRpcDispatcher instead.
                
> Use JGroups' anycast when sending messages to multiple target
> -------------------------------------------------------------
>
>                 Key: ISPN-2154
>                 URL: https://issues.jboss.org/browse/ISPN-2154
>             Project: Infinispan
>          Issue Type: Task
>          Components: RPC
>    Affects Versions: 5.2.0.ALPHA1
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.ALPHA2
>
>
> We currently emulate anycasts in CommandAwareRpcDispatcher by sending the message to each target sequentially and then waiting for all the responses in parallel.
> This doesn't work very well with JGroups' RSVP protocol: if the RSVP flag is set, the send operation will block until we have received an ACK from the target, making the operation take much longer than it should.
> We only use RSVP for state transfer-related commands, so this is not critical. But it should be slightly more efficient for normal commands, as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list