[jboss-jira] [JBoss JIRA] (JGRP-1436) GMS: separate view bundling timeouts for JOIN, LEAVE, MERGE
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Aug 1 06:43:26 EDT 2013
[ https://issues.jboss.org/browse/JGRP-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794464#comment-12794464 ]
Bela Ban edited comment on JGRP-1436 at 8/1/13 6:41 AM:
--------------------------------------------------------
Don't think I want to do this as it complicates the code; having separate timeouts for joins, leaves and suspects means we'd have to maintain 3 instead of 1 queue in GMS.ViewHandler.
Keeping GMS.max_bundling_time sufficiently small, e.g. 50-500ms, guarantees speedy processing of those events.
was (Author: belaban):
Don't think I want to do this as it complicates the code; having separate timeouts for joins, leaves and suspects (?) means we'd have to maintain 3 instead of 1 queue in GMS.ViewHandler.
Keeping GMS.max_bundling_time sufficiently small, e.g. 50-500ms, guarantees speedy processing of those events.
> GMS: separate view bundling timeouts for JOIN, LEAVE, MERGE
> -----------------------------------------------------------
>
> Key: JGRP-1436
> URL: https://issues.jboss.org/browse/JGRP-1436
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.4
>
>
> View bundling in GMS bundles events based on (1) whether they can be processed together and (2) whether a view bundling timeout is defined. The latter timeout is for all events, perhaps we want to define separate timeouts, e.g. the timeout for JOINs is 3000, but for LEAVE it is 500. This means that when we get multiple JOIN events, we'll wait up to 5 seconds and then process them together. When we get multiple LEAVE requests, we only wait for half a second before processing them. This causes LEAVEs to be processed almost immediately, whereas JOINs are bundled.
> Also revisit the code which determines which events can be processed together. Perhaps MERGE events can be bundled, too ?
--
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