ASF GitHub Bot commented on ARTEMIS-1807:

Github user franz1981 commented on the issue:

    @clebertsuconic @gaohoward AFAIK you've worked recently on Large messages: 
please share your thoughts and if you see other points where this improvement 
should be used.
    The optimal solution would be by using 
 to zero-copy data through the wire, but it involves to change `Packet` in 
order to use a `FileRegion` body instead of `byte[]`: this solution I've 
proposed seems less invasive, while providing very good perf improvements.

> 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

Reply via email to