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

Reply via email to