Set grpc.NettyChannelBuilderOption.keepAliveWithoutCalls to true

37 views
Skip to first unread message

Sandy Sun

unread,
Apr 26, 2018, 8:31:54 PM4/26/18
to grpc.io

If we overwrite the default value and set grpc.NettyChannelBuilderOption.keepAliveWithoutCalls to true, Will it impact the performance? any one has the real measurements? impact by how much?

spenc...@google.com

unread,
May 2, 2018, 1:55:07 PM5/2/18
to grpc.io
The keep alive is done with a HTTP/2 ping, so the performance impact is expected to be negligible. I am not aware of any benchmarks specifically on pings. What value are you thinking of using? If it is in the order of seconds or more you have nothing to worry about.
Reply all
Reply to author
Forward
0 new messages