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

Exponential Backoff support #2489

Closed
juanpmarin opened this issue Apr 17, 2016 · 2 comments
Closed

Exponential Backoff support #2489

juanpmarin opened this issue Apr 17, 2016 · 2 comments

Comments

@juanpmarin
Copy link

juanpmarin commented Apr 17, 2016

The Google's Http Client has an implementation of this algorithm which essentially improves the way retrying a request in case of failures. Is it possible to make yours ?

Additional info:
https://developers.google.com/api-client-library/java/google-http-java-client/backoff

@wingsum93
Copy link

-1 ,
if it is user trigger, no data = no retry.
because server may return 500.

if you send data in background, you may retry yourself in own way.

@swankjesse
Copy link
Collaborator

I’d like to leave this up to the application layer. Backoffs might need to be scheduled in another process if a server is redeployed or an app is relaunched. It’s really awkward to hide the response indefinitely.

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

No branches or pull requests

3 participants