Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2154

Use JGroups' anycast when sending messages to multiple target

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 8.0.0.Alpha2, 8.0.0.Final
    • 5.2.0.ALPHA1
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: