libratiger commented on issue #852: bad performance for ParseFromCompressedData
URL: https://github.com/apache/incubator-brpc/issues/852#issuecomment-539301544
 
 
   > @libratiger
   > 
   > > 如果自己比较明确数据格式的画,可以尝试streaming rpc,这个里面没有调用Pb的反序列化,brpc会把IOBuf交给用户来处理。
   > 
   > 碰到这种场景,一般用http + body是pb更合理一些,brpc中的streaming 
rpc是解决有序传输和处理问题,grpc层面的streaming目前brpc并不支持。
   
   
   嗯,我理解streaming 
rpc的设计不是干这个事的,但是我看如果把IOBuf交给用户来处理的画,应该是会比使用pb更加高效,可以减少反序列化的开销,尤其是用户自己知道格式的情况下。
   
   
   btw: brpc有对pb, http+body这种的性能对比吗?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to