[jboss-jira] [JBoss JIRA] (JGRP-1766) NAKACK2/UNICAST3: faster acceptance test

Bela Ban (JIRA) issues at jboss.org
Wed Feb 19 10:37:48 EST 2014


     [ https://issues.jboss.org/browse/JGRP-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1766.
----------------------------

    Resolution: Won't Fix

    
> NAKACK2/UNICAST3: faster acceptance test
> ----------------------------------------
>
>                 Key: JGRP-1766
>                 URL: https://issues.jboss.org/browse/JGRP-1766
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.5
>
>
> In NAKACK2/UNICAST3, when a message batch is received, we check every single message for presence of the corresponding header. If present we accept (and later process) the message.
> A faster acceptance test would be to check if the destination of the message batch matches, e.g.
> * UNICAST3: {{MessageBatch.getDest() != null}}
> * NAKACK2: {{MessageBatch.getDest() == null}}
> If these conditions are false, we simply pass the batch up. This is faster than iterating through every message in the batch.
> Same for single messages: this is already done in UNICAST3, but not in NAKACK2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list