[jboss-jira] [JBoss JIRA] (JGRP-1836) UNICAST3: merge sender and receive table for self

Bela Ban (JIRA) issues at jboss.org
Tue May 13 02:52:56 EDT 2014


Bela Ban created JGRP-1836:
------------------------------

             Summary: UNICAST3: merge sender and receive table for self
                 Key: JGRP-1836
                 URL: https://issues.jboss.org/browse/JGRP-1836
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 3.5


In UNICAST3 we have 1 sender and 1 receive table for every member, e.g. if we have A, B and C, and A sent unicast messages to all members and received unicasts from all members, then A has send and receive tables for A, B and C.
An optimization is to merge A's send and receive table *for itself (A)*:
* A sends a message to itself and adds it to the send-table for A
* A receives a message from itself and adds it to the *send-table* for A as well (not the receive-table !)
* A removes as many messages from the send-table for A as possible and delivers them

The resulting optimizations are:
* 1 less table for every member
* When a message from self has been received, we don't need to send an ACK because the receive-table *is* the send-table and therefore low/hd/hr have already been adjusted (less traffic)



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list