[jboss-jira] [JBoss JIRA] (JGRP-1985) Message: make initial size of headers configurable

Bela Ban (JIRA) issues at jboss.org
Thu Dec 24 05:28:00 EST 2015


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

Bela Ban commented on JGRP-1985:
--------------------------------

Hmm, by default we have the following headers
* Transport: {{UDP}}, {{TCP}} or {{TCP_NIO2}}
* Reliable retransmission and ordering protocol: either {{NAKACK2}} or {{UNICAST3}}
* RequestCorrelator for RPCs

That's 3 headers most of the time. Which other headers did you see? {{FRAG2}}?
Just out of curiosity, I'll change the default to 4 anyway.

> 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