It typically does a DNS resolution, connects to the addresses one-by-one until it finds one that works, does a TLS handshake, and the RPC exchange which includes the server's only latency. 15 seconds is a long time. I'd either expect the server is slow to respond or the networking is poor (e.g., dropped packets) causing lots of latency.
On Mon, Apr 11, 2022 at 1:33 AM EDMONDO SENA <[email protected]> wrote: > Hi all, > > making a client-server call using the following method to open the channel: > ManagedChannelBuilder.ForTarget (<hostname>: port) takes 15 seconds to get > the response. Where hostname is the container name > > Can you explain to me what it depends on? > > Thanks- > //Edmondo. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/2f9e32af-90bc-49fc-84fa-5b8dfec7b30en%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/2f9e32af-90bc-49fc-84fa-5b8dfec7b30en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPa3Nh%3DGWA4_pdVHLbYxQatd_0n%2Bt31cM%3DuwCt30%3Do%3Dkg%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature
