fzhedu opened a new issue, #2052: URL: https://github.com/apache/incubator-brpc/issues/2052
每个 chunk 的 size 在 100KB ~ 100MB 之间,chunk 先序列化成 protobuf chunkPB。 Q1: chunkPB 有必要 copy 到 butil::IOBuf 中通过 attachment 传输吗?还是直接传输 chunkPB 结构?这两种方式哪种更高效? (我理解两种方式都可以,直接传输chunkPB 更高效) Q2:调用 rpc,发送端和接受端的 chunkPB 的生命周期? chunk_rpc(chunkPB,closure) 这样的接口,在发送端,发送完之后,chunkPB 的内存是否可以释放?接受端的 chunkPB 是不是在 closure 调用之前都有效? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
