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

UNICAST doesn't allow for concurrent sending and receiving

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 2.4.1 SP3, 2.5
    • None
    • None

      In UNICAST, down() and up() block on the same entry (Entry instance), however, they should be concurrent. As an optimization, we now block on the receiver window when receiving a message, rather than on the entry. This way, down() doesn't have to block on entry which is held until a message has been consumed !
      A quick Unicast run with 2 nodes shows that the message rate goes from 4000 msgs/sec to 8000 msgs/sec !

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: