I Just noticed that NettyChannelBuilder has a keep alive option.

On Tuesday, May 30, 2017 at 8:21:32 PM UTC-4, [email protected] wrote:
>
> Thanks that's really great information.  How about Java ?  Does Java do 
> this too ?
>
> On Tuesday, May 30, 2017 at 8:01:37 PM UTC-4, Michael Lumish wrote:
>>
>> For the Node client, I think you can enable keepalive HTTP2 pings using 
>> the channel argument "grpc.keepalive_time_ms" as defined at 
>> https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/grpc_types.h#L230
>>  
>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgrpc%2Fgrpc%2Fblob%2Fmaster%2Finclude%2Fgrpc%2Fimpl%2Fcodegen%2Fgrpc_types.h%23L230&sa=D&sntz=1&usg=AFQjCNGk3KcO9EpwYHnZBq8vAxd5HlZv3w>.
>>  
>> This argument is passed in the options object, which is the third argument 
>> to the Client constructor.
>>
>> On Tue, May 30, 2017 at 4:41 PM <[email protected]> wrote:
>>
>>> Currently Node client is looking to fix this doing a heartbeat at the 
>>> application level. Sending NOP messages  This seem like something 
>>> grpc/http2 should handle.  Load balancers are very common. 
>>> Don't this is off the bat a good way to fix this if it is even an issue 
>>> for Java
>>>
>>> -- 
>>> 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/3cc62500-4979-4c04-8f21-573ac4ae2cb2%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/grpc-io/3cc62500-4979-4c04-8f21-573ac4ae2cb2%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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/96d5c88a-fe0c-4f4f-9623-d628c486c58a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to