It is possible to measure it yourself.  You can make your own custom 
message encoder which counts the bytes in and out, and then delegate to 
protobuf.  


Overhead is slightly fuzzy to calculate.  Protobuf isn't really overhead, 
unless you are sending large binary strings.  How much overhead is there in 
a struct?  Protobuf will likely compress the integers in the struct and 
result in a smaller message.  Does it still count as overhead?

On Wednesday, March 15, 2017 at 5:03:42 AM UTC-7, Amit Waisel wrote:
>
> Hi All,
> Is it possible to query network usage information (total bytes 
> transferred, current transfer rate [bytes per second], etc) from a gRPC 
> channel? Both secure and insecure.
> (For example, I would like to query how many bytes were sent and received 
> on the native SOCKET, including gRPC/protobuf overhead).
>
> Thanks!
> Amit
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/573909fa-27e1-498b-a8ee-e289e18ada8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to