You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/07/24 03:39:54 UTC

[GitHub] [incubator-brpc] zyearn commented on issue #852: bad performance for ParseFromCompressedData

zyearn commented on issue #852: bad performance for ParseFromCompressedData
URL: https://github.com/apache/incubator-brpc/issues/852#issuecomment-514466754
 
 
   这个数字代表的是当前事件和上一个事件的时间差,不是说花在“Enter bigo.pb3.rank.RankService.GetRankItems”的时间,而是“接受到数据“到”准备进入具体用户函数“之间的时间。具体看一下https://github.com/apache/incubator-brpc/blob/master/docs/cn/rpcz.md。
   
   从你贴的图来看,Enter bigo.pb3.rank.RankService.GetRankItems前面的时间可能是ParseFromCompressedData占用比较多,看下req的解析时间是不是合理的。
   
   Leave bigo.pb3.rank.RankService.GetRankItems时间长说明你的实现函数耗时比较长。
   
   Responded之前会有压缩和序列化,对于兆级别的数据会达到毫秒级别。

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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