runzhiwang commented on pull request #296: URL: https://github.com/apache/incubator-ratis/pull/296#issuecomment-732925118
@szetszwo Hi, in transferTo method there are three methods: transferToDirectly which use sendfile and is the fastest, transferToTrustedChannel which use MapByteBuffer, transferToArbitraryChannel which use HeapByteBuffer and is the slowest. Our code use the slowest transferToArbitraryChannel , which will use HeapByteBuffer as the image shows. Not sure whether can we support transferToDirectly or transferToTrustedChannel.  ---------------------------------------------------------------- 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: [email protected]
