franz1981 commented on issue #2845: ARTEMIS-2336 Use zero copy to replicate
journal/page/large message file (AGAIN)
URL: https://github.com/apache/activemq-artemis/pull/2845#issuecomment-541386793
@wy96f I'll look better into this on my back, but please take a look
yourself if you have any idea.
From what I've understood we can:
- fix
https://github.com/netty/netty/blob/ff7a9fa091a8bf2e10020f83fc4df1c44098/transport/src/main/java/io/netty/channel/DefaultMessageSizeEstimator.java#L45
in order to account for chunked files correctly and flow control them while
being enqueued into chunk writer
- change how sync done timeout is being calculated and consider the total
time to replicate (from the first file region/chunk sent) instead of the time
from when the sync done is being enqueued in Netty
wdyt?
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