--
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+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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/a4b82f09-4eb7-4e6b-aabd-71198e38b558%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPAgg2XRCLbkmVG5KE%3DSmaARVevxwn_gfu40HQGMqj4Sg%40mail.gmail.com.
The client and servers are C++, and I'm talking about the connection retry, not an RPC retry. Also, the server is on a UNIX socket (unix:/path).
Also, how did you get those reconnect attempt times?All languages should be following our standard connection backoff algorithm. If one's not, that would be a bug. Note that 20s is permitted as a minimum connect time. Basically, we're willing to wait 20 seconds for DNS, TCP, TLS, and similar to complete. If they fail though, then there may be a delay until the next attempt.
In what language? There are (at least) two kinds of reties: connection attempt retry, and high level RPC call retry. I assume your question is about the former.
On Friday, April 14, 2017 at 12:25:11 PM UTC-7, Yaz Saito wrote:I'm trying out 1.2.4 (I was using 1.0.1), and I noticed that the channel connection retry policy has changed. Looks like the newest code retries connection at intervals of 1s, 20s, 32s, 51.2s, etc. And I'm not happy with the huge jump from 1s to 20s. This means when I start a server then try to connect to it (which happens in unittests often), I often wait for 20s. Am I understanding the code right, and is there a way to force the channel to reconnect more quickly?--yaz
--
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+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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/a4b82f09-4eb7-4e6b-aabd-71198e38b558%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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%2B4M1oPAgg2XRCLbkmVG5KE%3DSmaARVevxwn_gfu40HQGMqj4Sg%40mail.gmail.com.
--yaz
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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/8d03fd13-df76-4f16-9e5d-fb864df24519%40googlegroups.com.