[
https://issues.apache.org/jira/browse/RATIS-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295992#comment-17295992
]
runzhiwang edited comment on RATIS-1312 at 3/5/21, 12:03 PM:
-------------------------------------------------------------
> consume data ahead, consume one packet when receive one packet
[~szetszwo] Still do not know how to achieve this, for example, client pass 4MB
to netty, when dn1 receive first 60KB, dn1 can write it to disk, but dn1 can
not pass 60KB to netty and send it to dn2 directly, dn1 need to receive all 4MB
and pass 4MB to netty, if so, we still can not achieve streaming packet one by
one.
was (Author: yjxxtd):
> consume data ahead, consume one packet when receive one packet
Still do not know how to achieve this, for example, client pass 4MB to netty,
when dn1 receive first 60KB, dn1 can write it to disk, but dn1 can not pass
60KB to netty and send it to dn2 directly, dn1 need to receive all 4MB and pass
4MB to netty, if so, we still can not achieve streaming packet one by one.
> Compare the performance between HDFS and DataStreamApi
> ------------------------------------------------------
>
> Key: RATIS-1312
> URL: https://issues.apache.org/jira/browse/RATIS-1312
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Priority: Major
> Attachments: hdfs.svg, screenshot-1.png, streaming.svg
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)