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

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

GitHub user franz1981 opened a pull request:

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

    ARTEMIS-1807 File-based Large Message encoding should use read-only mmap

    It provides a LargeBodyEncoder using a read only mapped view of the large
    message file to encode the data to be sent. It saves unecessary copies and
    context switches while consuming the encoded data.

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

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

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

    https://github.com/apache/activemq-artemis/pull/2015.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 #2015
    
----
commit d3a221f99e30a7ba39898f0623fdd9a65c42d134
Author: Francesco Nigro <nigro.fra@...>
Date:   2018-04-15T15:17:19Z

    ARTEMIS-1807 File-based Large Message encoding should use read-only mmap
    
    It provides a LargeBodyEncoder using a read only mapped view of the large
    message file to encode the data to be sent. It saves unecessary copies and
    context switches while consuming the encoded data.

----


> File-based Large Message encoding should use read-only mmap
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-1807
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1807
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.5.0
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> File-based LargeServerMessageImpl should use read-only memory mapping while 
> reading the file, in order to:
>  * reduce the number of copiesĀ 
>  * reduce the context switches



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

Reply via email to