activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Nigro (Jira)" <j...@apache.org>
Subject [jira] [Created] (ARTEMIS-3449) Speedup AMQP large message streaming
Date Sun, 29 Aug 2021 16:38:00 GMT
Francesco Nigro created ARTEMIS-3449:
----------------------------------------

             Summary: Speedup AMQP large message streaming
                 Key: ARTEMIS-3449
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3449
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: Francesco Nigro
            Assignee: Francesco Nigro


AMQP is using heap ByteBuffer(s) to stream AMQP large messages: given that the underline NIO
sequential file can both use FileChannel or RandomAccessFile (depending if the ByteBuffer
used is direct/heap based), both approaches would benefit from using direct ByteBuffers pooled
from Netty and save additional copies (performed by RandomAccessFile) to happen, reducing
GC too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message