You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/11/24 14:02:00 UTC
[jira] [Created] (RATIS-1176) Benchmark various ways to stream data
Tsz-wo Sze created RATIS-1176:
---------------------------------
Summary: Benchmark various ways to stream data
Key: RATIS-1176
URL: https://issues.apache.org/jira/browse/RATIS-1176
Project: Ratis
Issue Type: Sub-task
Components: client, Streaming
Reporter: Tsz-wo Sze
In RATIS-1175, we provided a WritableByteChannel view of DataStreamOutput in order to support FileChannel.transferTo. However, [~runzhiwang] pointed out that sun.nio.ch.FileChannelImpl.transferTo has three submethods
# transferToDirectly (fastest)
# transferToTrustedChannel
# transferToArbitraryChannel (slowest, requires buffer copying)
Unfortunately, our current implementation only able to use transferToArbitraryChannel.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)