duhengforever commented on issue #575: while not use FileChannel.write()? rocketmq use mmap file write , may cause use a lot of share memory URL: https://github.com/apache/rocketmq/issues/575#issuecomment-444446833 @Ah39 Compared with FileChannel, MMAP can write to the page cache directly, but FileChannel and use directbuffer need to write to memory first, then write to the page cache. so RocketMQ has an advantage when writing a lot of small data into a file.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
