-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is ConnectParams still considered an experimental type? #8176
Comments
Hey, @ndsistsys , can you tell us why do you want to use it ? What is your use case ? Since we have it for a long time, there is a less chance to change it but we would still like to reserve the right to change it if necessary. |
Hey @eshitachandwani I'm interested in Please notice that the internal backoff is mentioned at least in the following files: Line 609 in a51009d
Line 284 in a51009d
Given that the definition of the struct has not change for 5 years, if you don't have anything in your backlog IMHO it would be better to delete the comment about the experimental status, as it can be misleading. At first, I understood some changes were foreseen in a near future. |
gRPC does exponential backoff internally automatically. Is there some reason why the default settings aren't working for you? |
I suppose the default values are Line 47 in 6819ed7
I have use some cases in which I need to change the MaxDelay default value.Anyway, I'll use ConnectParams in my code base; I would like only to state again that at first, reading the comment about the struct being experimental, I understood it was not stable.Thank you for your replies! |
Can you explain why?
Correct, it is not stable. At least in part because we haven't really found people needing to use it. I'm fairly sure we would have made it |
This issue is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
In order to setup an optimized configuration, shouldn't we tune the backoff parameters according to a connection deadline? |
According to https://github.com/grpc/grpc-go/blame/775150f68c1759ad4b1230d09fe41efb6f3c76ad/backoff.go#L53 type
ConnectParams
should be considered experimental. However, the comment was added 5 years ago, can we consider this type as stable?The text was updated successfully, but these errors were encountered: