Using NettyChannelBuilder.NameResolverFactory I Have Fixed the problem, but
NameResolverFactory is deprecate.

Which method has replaced it??

Can you gelo me?
Thanks a lot.

//Edmondo.



Il giorno mar 12 apr 2022 alle 17:37 Eric Anderson <[email protected]> ha
scritto:

> 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/CAOrqEaH4pVD33nwQsOeohvEfUv6jqXXWJCQH9ckeLF7UOdp1Sg%40mail.gmail.com.

Reply via email to