franz1981 edited a comment on issue #2844: ARTEMIS-1811 NIO Seq File should use 
RandomAccessFile with heap buffers
URL: https://github.com/apache/activemq-artemis/pull/2844#issuecomment-533906809
 
 
   I'm going to "tune" the optimization while reading/writing RandonAccessFile 
in chunks of 8192, because on 
https://github.com/netty/netty/pull/9591#issuecomment-533904873 I've measured 
that the allocator isn't a bottleneck when chunk size > 8192 and assuming 
single threaded usage (malloc -> free on the same thread). 
   ATM AMQP and OpenWire could cause big buffers allocation on native space (on 
JNI), so I would reduce the impact of this by tuning chunk size just to reduce 
the foot print overhead of it.

----------------------------------------------------------------
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

Reply via email to