[
https://issues.apache.org/jira/browse/RATIS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-1175:
------------------------------
Description: As mentioned by [~yjxxtd] in this comment, we should support
the Java API
[FileChannel#transferTo|https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html#transferTo-long-long-java.nio.channels.WritableByteChannel-],
i.e. sendfile of linux, which used by kafka, since it is efficient. (was: As
mentioned by [~yjxxtd] in this
[comment|https://issues.apache.org/jira/browse/RATIS-979?focusedCommentId=17236573&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17236573],
we should support the Java API FileChannel#transferTo, i.e. sendfile of linux,
which used by kafka, since it is efficient.)
> DataStreamOutput should support FileChannel#transferTo
> ------------------------------------------------------
>
> Key: RATIS-1175
> URL: https://issues.apache.org/jira/browse/RATIS-1175
> Project: Ratis
> Issue Type: Sub-task
> Components: client, Streaming
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> As mentioned by [~yjxxtd] in this comment, we should support the Java API
> [FileChannel#transferTo|https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileChannel.html#transferTo-long-long-java.nio.channels.WritableByteChannel-],
> i.e. sendfile of linux, which used by kafka, since it is efficient.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)