Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2010

RpcDispatcher/MessageDispatcher: don't copy the first anycast

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.6.8, 4.0
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                belaban Bela Ban
                Reporter:
                belaban Bela Ban
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: