[
https://issues.apache.org/jira/browse/RATIS-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17294906#comment-17294906
]
runzhiwang edited comment on RATIS-1312 at 3/4/21, 12:59 AM:
-------------------------------------------------------------
> We should change it to (length, header, body). Then, it doesn't have to
> decode the protobuf header when reading the body
[~szetszwo] I agree, but can we rely on netty to decide entire message is
received ? Because we pass the entire message to netty, and netty should know
whether entire message is received.
was (Author: yjxxtd):
> We should change it to (length, header, body). Then, it doesn't have to
> decode the protobuf header when reading the body
I agree, but can we rely on netty to decide entire message is received ?
Because we pass the entire message to netty, and netty should know whether
entire message is received.
> 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, streaming.svg
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)