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)