Automatic connection handling?

67 views
Skip to first unread message

ewan.p...@gmail.com

unread,
Jul 13, 2016, 2:42:21 PM7/13/16
to grpc.io
Does gRPC handle the pooling of client connections? 

e.g. 1 client creates X connections to 1 server

Where X is determined by I'd assume load / upper limit

Nathaniel Manista

unread,
Jul 18, 2016, 11:57:58 PM7/18/16
to ewan.p...@gmail.com, grpc.io
Maybe. In what language are you working? If the language in which you're writing your client offers a channel, is there one channel or are there X channels created by your client implementation?
-Nathaniel

Ewan Walker

unread,
Jul 19, 2016, 6:35:44 AM7/19/16
to Nathaniel Manista, grpc.io
I am using go, and using the normal connection methods built in to the grpc library

Eric Anderson

unread,
Jul 28, 2016, 2:16:03 PM7/28/16
to Ewan Walker, Nathaniel Manista, grpc.io
Dial creates a new connection, but you can share the ClientConn between callers and they will share the connection. We don't automatically pool in Go today.

--
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 grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2BqWK9Q92o4mxgYsMRokMXf_fqnBVOy0TYxd4DvrmRHd7Fd2BQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages