[jboss-jira] [JBoss JIRA] Commented: (JGRP-825) Message: add a flag to discard own multicast

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Sep 25 07:34:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/JGRP-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12431123#action_12431123 ] 

Bela Ban commented on JGRP-825:
-------------------------------

The flag is Message.DISCARD_OWN_MCASTS. This is for group messages (= multicasts) only, it doesn't make sense to discard unicast messages from self to self...

> Message: add a flag to discard own multicast
> --------------------------------------------
>
>                 Key: JGRP-825
>                 URL: https://jira.jboss.org/jira/browse/JGRP-825
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.7
>
>
> If we have a group consisting of members {A,B,C} and A wants to multicast to the group, it will receive its own message too. To avoid this, A can set option LOCAL on its channel to false, meaning that all messages sent by A will get discarded by A's channel.
> The problem here is that those messages need to get handled nevertheless (e.g. by NAKACK, including retransmissions), all the way up the stack, until they hit the channel - only to be discarded there. This is a waste of resources (CPU and memory).
> A solution is to discard the multicast at the transport level. If a message has a flag LOCAL set to false, then TP discards it if
> - the message is a multicast message and
> - the sender of the message is the local member

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list