You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/09/06 17:00:14 UTC
[jira] [Commented] (QPIDJMS-321) pre-size the inbound message queue
[ https://issues.apache.org/jira/browse/QPIDJMS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155682#comment-16155682 ]
ASF subversion and git services commented on QPIDJMS-321:
---------------------------------------------------------
Commit e8a8358a1a903d24dac697f3f5cd43765130d8fe in qpid-jms's branch refs/heads/master from [~gemmellr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=e8a8358 ]
QPIDJMS-321: pre-size the inbound message queue based on prefetch
> pre-size the inbound message queue
> ----------------------------------
>
> Key: QPIDJMS-321
> URL: https://issues.apache.org/jira/browse/QPIDJMS-321
> Project: Qpid JMS
> Issue Type: Improvement
> Components: qpid-jms-client
> Reporter: Robbie Gemmell
> Priority: Trivial
> Fix For: 0.25.0
>
>
> QPIDJMS-306 updated the message queue data structure to be more efficient in use. The new versions has to grow itself several times to reach the typical/default prefetch size as messages arrive. Given it is relatively a small structure, it would be better to simply pre-size it to the prefetch size and avoiding the growth. For any edge cases where it is desired to keep the structure even smaller, the configured prefetch can be reduced, abd would already have had to be done anyway to satisfy the scenario.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org