-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update trace summary script #6758
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like still we should be looking for ways to correctly record GRPC WAITREAD
or remove this value.
One scenario that I can imagine being confusing for the user is when they compare the value of GRPC infer request
in gRPC and HTTP and notice much longer values for gRPC since it takes into account the gaps between the requests as well.
@pskiran1 Were you able to investigate whether gRPC server allows us to record actual request read time? Similar to libevhtp which allow us to record a timestamp on the first set of bytes, does gRPC have any hooks which can be used to detect the network activity - hence the beginning of a read from the network? If not, then I would advocate for removing the value as well to avoid any confusion. |
As we discussed internally, gRPC does not provide a direct hook for recording request read time, and using alternative methods such as interceptors may add latency/overhead to the current server. Therefore, we have decided to remove the |
a small change otherwise looks good to me. |
@pskiran1 Actually, I realized that you need to remove it from grpc trace recording too. |
server/src/grpc/infer_handler.cc Line 667 in 8fc7b10
|
No description provided.