Handshake in TLS

42 views
Skip to first unread message

Baojun Xu

unread,
Mar 12, 2018, 1:21:03 PM3/12/18
to grp...@googlegroups.com, Jun Li
Hi,

We are calling our grpc endpoint with TLS from app engine. I am wondering how often does a TLS handshake happen in case we are calling from app engine, given our client stub is provided as a Singleton? Especially we don't know how app engine will deal with the client stub.

Best,
Baojun

Srini Polavarapu

unread,
Mar 14, 2018, 1:35:31 PM3/14/18
to grpc.io
Please specify the language you are using and whether it is flex or standard AppEngine.

b...@soliduslink.com

unread,
Mar 20, 2018, 6:34:12 PM3/20/18
to grpc.io
We are using Java on standard Appengine. Thanks

Ken Payson

unread,
Mar 21, 2018, 1:58:13 PM3/21/18
to grpc.io
If you are using a singleton channel, you should only need to do the TLS handshake once, or if the channel needs to reconnect due to a connection timeout or disconnect.

b...@soliduslink.com

unread,
Mar 21, 2018, 5:11:01 PM3/21/18
to grpc.io
Yes that makes a lot of sense. Thx!
Reply all
Reply to author
Forward
0 new messages