Hi,

Reading the source code of `grpc_insecure_channel_create` [1] seems
that this function must trigger in some way the DNS query for the
target and also the first connection handshake asynchronously

Executing one of the Python examples seems that the DNS resolution and
the connection are not really done until at least one request is
executed [2].

Am I missing something?

If not, is this is the default implementation? So other languages like
C++, Java, Node.js are using the same pattern?

Does the API provide a way of making the connection step explicitly?

[1] 
https://github.com/grpc/grpc/blob/8860eb34ab9183589a039a36a6e10a74b440c501/src/core/ext/transport/chttp2/client/insecure/channel_create.cc#L82
[2] 
https://github.com/grpc/grpc/blob/master/examples/python/helloworld/greeter_client.py#L31

-- 
--pau

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2BULCcHJDqTvh7VK2_Gk2tYwhNKT4Ec9D_ERjTc2euJ44D6Nig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to