[jboss-jira] [JBoss JIRA] (JGRP-2010) RpcDispatcher/MessageDispatcher: don't copy the first anycast

Bela Ban (JIRA) issues at jboss.org
Mon Feb 1 04:33:00 EST 2016


Bela Ban created JGRP-2010:
------------------------------

             Summary: RpcDispatcher/MessageDispatcher: don't copy the first anycast
                 Key: JGRP-2010
                 URL: https://issues.jboss.org/browse/JGRP-2010
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.6.8, 4.0


If we have an anycast to targets B,C,D, this will be sent as 3 unicasts: to A, to B and to C. The original message is copied for each of the 3 target dests (only the headers are copied, not the payload). The copy is needed to prevent protocols from changing the (same) headers when the message is sent (or retransmitted).
As an optimization, we don't need to copy the *first* message; in the above example, we need to copy only B and C.
For anycasts to single destination, we don't need to copy anything.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list