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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.