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/10 02:59:12 UTC

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

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

   当transferMsgByHeap=false的时候,拉取消息会使用fileRegion的方式实现零拷贝
   
   https://github.com/apache/rocketmq/blob/47561bdd855ab381113d736b5c26a09c08da590b/broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java#L382-L408


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