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 2022/04/20 03:20:44 UTC

[GitHub] [rocketmq] qsrg commented on issue #4137: Why doesn't rocketmq send files with sendfile like Kafka?

qsrg commented on issue #4137:
URL: https://github.com/apache/rocketmq/issues/4137#issuecomment-1103430103

   > @cserwen @lwclover As described in google's paper GFS, the side effect of zero-copy is that if the data is not in page cache, the page fault and disk reading(usually called cold data) will hang the netty thread. Which will cause delays in all requests.
   > 
   > For MQ, Keeping low latency of sending is very important, so for latency-sensitive applications, it is not suggested to use zero copy by default.
   
   Used mmap, the page fault and disk reading still exist. 


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org