Hello,

I wrote a database driver using Go and grpc. I ended up using the 
"streaming" rpc because that was the only way it seems to have a "stable 
connection".

When reviewing the API docs, it was the only way I could implement a 
"connection", otherwise for each rpc call, a new connection (tcp) is made 
for each request - at least as far as I could tell - and there is no 
"lifecycle" events on the server side to determine when a connection is 
dead, etc.

Am I reading the documentation correctly and implementing this correctly?

Is it also a possibility that if I use a TLS connection, then the grpc 
connection will be stable across rpc calls ?

Looking for direction here (it works now, but something doesn't fell right).

You can see the code at github.com/robaho/keydbr

Thanks.
Robert

-- 
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/be67bee8-6687-46ae-846b-83fd6814e818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to