On Wed, Jan 17, 2024 at 12:50 PM Kumaran Loganathan <
kumaranloganatha...@gmail.com> wrote:

> How many TCP connections does a channel create and manage provided the DNS
> resolution of the server resolves to one ip address?


Technically, this is a decision that the client-side LB policy makes.
However, none of our policies currently create more than one connection per
IP to send *new* RPCs. If you use long-lived RPCs, there could be old TCP
connections with those old RPCs on them, but those connections will close
when the RPCs complete.

The default LB policy is pick_first, which only has one "active" TCP
connection independent of the number of IP addresses. round_robin has one
active connection per IP.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oMuzbFhkM5D3Ffq%3Dtvx%2BccirFFyGa4urOgs3qVfXpn-Mw%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to