[
https://issues.jboss.org/browse/JGRP-1985?page=com.atlassian.jira.plugin....
]
Bela Ban edited comment on JGRP-1985 at 12/24/15 5:27 AM:
----------------------------------------------------------
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}},
{{FORK}}?
Just out of curiosity, I'll change the default to 4 anyway.
was (Author: belaban):
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)