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

UNICAST: high contention

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.6.13, 2.8
    • None
    • None

      If UNICAST receives a high number of messages and sends a high number of messages concurrently, there will be a lot of retransmissions. Reason is contention on 'connections', with up- and down messages accessing it concurrently. Both up- and down- messages impede each other and thus messages are not received in time, causing retransmissions (ACKs to be resent).

      SOLUTION:
      #1 Reduce contention and turn 'connections' from HashMap into ConcurrentHashMap
      #2 Break 'connections' into a send-table and receive-table: sends and acks access the send-table, receives the receive-table

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

                Created:
                Updated:
                Resolved: