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 2021/03/01 07:04:19 UTC

[GitHub] [rocketmq] hdr893487191 opened a new issue #2701: why does rocketmq uses mmap+write , rather then sendfile

hdr893487191 opened a new issue #2701:
URL: https://github.com/apache/rocketmq/issues/2701


   I looked up some information and didn't understand why.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] hdr893487191 closed issue #2701: why does rocketmq uses mmap+write , rather then sendfile

Posted by GitBox <gi...@apache.org>.
hdr893487191 closed issue #2701:
URL: https://github.com/apache/rocketmq/issues/2701


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] fengyiluo commented on issue #2701: why does rocketmq uses mmap+write , rather then sendfile

Posted by GitBox <gi...@apache.org>.
fengyiluo commented on issue #2701:
URL: https://github.com/apache/rocketmq/issues/2701#issuecomment-787825837


   Compared with the large  file transmission of sendfile, the small data transmission of mmap is more suitable for rocketmq. On the other hand, rocketmq is developed in java, large objects will have a certain impact on the garbage collection mechanism of jvm, so mmap is chosen


----------------------------------------------------------------
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:
users@infra.apache.org