franz1981 opened a new pull request #2845: ARTEMIS-2336 Use zero copy to replicate journal/page/large message file (AGAIN) URL: https://github.com/apache/activemq-artemis/pull/2845 I've opened this PR for discussion: I would like to re-introduce ARTEMIS-2336, but I've allowed wildfly or any user that doesn't want/can to use zero copy to be able to use the existing artemis code. I've opened https://github.com/netty/netty/pull/9592 too to "enhance" `ChunkedNioFile` in order to solve a bug on our implementation: in the meantime I've "shadowed" my solution directly into `AbsoluteChunkedNioFile` to not rely on any specific Netty version. This PR could make use for InVM connection the same optimization sent on https://github.com/apache/activemq-artemis/pull/2844 while reading file (RandomAccessFile) on `ReplicationSyncFileMessage`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services