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/13 03:22:57 UTC

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

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

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


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