You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/12/05 11:06:04 UTC

[GitHub] duhengforever edited a comment on issue #575: while not use FileChannel.write()? rocketmq use mmap file write , may cause use a lot of share memory

duhengforever edited a comment 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 with directbuffer needs to write to memory first, then write to the page cache. so MMAP 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:
users@infra.apache.org


With regards,
Apache Git Services