[jboss-jira] [JBoss JIRA] (JGRP-1985) Message: make initial size of headers configurable
Dan Berindei (JIRA)
issues at jboss.org
Tue Jan 5 03:31:00 EST 2016
[ https://issues.jboss.org/browse/JGRP-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144803#comment-13144803 ]
Dan Berindei commented on JGRP-1985:
------------------------------------
I didn't actually see header copying in my tests, I was just thinking of {{FRAG2}} because you mentioned fragmentation in the description. But WildFly always uses {{FORK}}, so a default of 4 should be better even without fragmentation.
> Message: make initial size of headers configurable
> --------------------------------------------------
>
> Key: JGRP-1985
> URL: https://issues.jboss.org/browse/JGRP-1985
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 3.6.7
>
>
> By default a message creates a {{Headers}} instance of 3. This is usually enough (transport, either {{NAKACK2}} or {{UNICAST3}}, and possibly fragmentation). However, if a message needs 4 or more headers, there's a resize which is an additional copy of 2 small arrays.
> Goal: make the initial headers size configurable.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list