0x007004 commented on issue #1738:
URL: 
https://github.com/apache/incubator-brpc/issues/1738#issuecomment-1099824548

   不同协议看代码应该还好, 数据主要就是_request_buf
   - 唯一被读取的地方是“pack_request“,直接附加到发送到iobuf后面,和协议无关。
   
![image](https://user-images.githubusercontent.com/13299372/163514937-06b10355-5384-44a7-beba-70493e8a2be3.png)
   
   - 
唯一被写入的地方是"serialize_request",这里和压缩算法相关,但是在parallel_channel的使用中,只有一个controller,不同子channel会ApplyClientSettings,压缩算法在这里是可以被统一的。
   
   不过这样逻辑就复杂了, 主要现在有个多分片的场景,分片数太多了,才想扣这一点点的性能


-- 
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]

Reply via email to