Skip to content
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

grpc_retry: why linear backoff and not exponential #47

Closed
aybabtme opened this issue May 15, 2017 · 3 comments
Closed

grpc_retry: why linear backoff and not exponential #47

aybabtme opened this issue May 15, 2017 · 3 comments

Comments

@aybabtme
Copy link

ohai!

Just wanted to know why the backoff strategy used here was linear, versus exponential? Was it an omission, a lack of opinion or a choice made on purpose?

@mwitkow
Copy link
Member

mwitkow commented May 17, 2017

Hey,

I wanted to implement exponential backoff, but the flight I was in wasn't long enough. And for most gRPC errors we encounter (e.g. connection reset which signifies Unavailable) a simple linear is enough.

Happy to accept PRs though! :)

@chimeworld
Copy link

I'd like to work on this if it's still needed.

@johanbrandhorst
Copy link
Collaborator

This is already supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants