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 2017/04/09 09:27:41 UTC

[jira] [Created] (ARTEMIS-1104) Improve performance of write on Paging

Francesco Nigro created ARTEMIS-1104:
----------------------------------------

             Summary: Improve performance of write on Paging
                 Key: ARTEMIS-1104
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1104
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: Francesco Nigro
            Assignee: Francesco Nigro
            Priority: Minor


NIO need a direct buffer to perform efficient writes.
If the write is performed using heap buffers, the OpenJDK/Oracle implementation will create a cache of direct ones, performing a copy into it before writing into the file.
Using a cached (per Page) instance of direct buffer will reduce the pressure on  the GC (lowering the memory footprint at runtime) and will improve the NIO's write efficiency.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)