You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/12 15:52:00 UTC

[jira] [Commented] (ARTEMIS-2070) broker can reduce buffer copies with large messages

    [ https://issues.apache.org/jira/browse/ARTEMIS-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612385#comment-16612385 ] 

ASF GitHub Bot commented on ARTEMIS-2070:
-----------------------------------------

GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2307

    ARTEMIS-2070 broker can reduce buffer copies with large messages

    It includes several improvements on large messages:
    
    - AMQP and OpenWire: it reduces the number of copies of the whole file size
    - CORE: it allows to pool the chunks used to stream the message while consuming it
    
    The policy chosen to pool the chunks makes use of the available credits, but can be made less aggressive if is safe enough.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-2070

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2307.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2307
    
----
commit ffe494c6f93745fd7ef5ced0b6bbf391b4f43eaf
Author: Francesco Nigro <ni...@...>
Date:   2018-08-31T18:32:48Z

    ARTEMIS-2070 broker can reduce buffer copies with large messages

----


> broker can reduce buffer copies with large messages
> ---------------------------------------------------
>
>                 Key: ARTEMIS-2070
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2070
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> While dealing with large messages, regardless of the protocol used, the broker is performing several buffer copies that could be saved to make the process less memory hungry, in particular when AMQP or OpenWire are used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)