We have a service which establishes 1000s of ssl based grpc connections to 
our backend servers, while trying to process a lot of other data. Due to 
this we encounter long java GC pauses, sometimes >10 secs.


The default handshake timeout is 10 secs (
https://github.com/netty/netty/blob/00afb19d7a37de21b35ce4f6cb3fa7f74809f2ab/handler/src/main/java/io/netty/handler/ssl/SslHandler.java#L413
)
As a result of this, we encounter multiple handshake timeout errors in the 
order 1000s as well. Is there a reason why this is not exposed to the 
client? so that the caller can change the value.


Is there any other alternative approach to solve this and not encounter so 
many handshake timeouts. May be an interceptor and queue up the requests if 
the handshake is not complete?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/10d75285-18a2-4dc4-9598-d7564cffcfa0%40googlegroups.com.

Reply via email to