Thanks for the clarification. On Thu, Jan 18, 2024, 2:29 AM Eric Anderson <ej...@google.com> wrote:
> 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/CAE1sUtgYbYw0-s5r1jh%2BQ6xPXoELVYjv9bk8WwsoFd_bfKeNsg%40mail.gmail.com.