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

[jira] [Commented] (ARTEMIS-1807) File-based Large Message encoding should use read-only mmap

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

Francesco Nigro commented on ARTEMIS-1807:
------------------------------------------

The solution implemented is the less costly from the number of changes required: the best solution would be to use directly the mapped file slices on the Packets to be sent or several FileRegion and perform zero-copy transfert into Netty channel.

> 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)