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

update backoff strategy to be exponential #89

Closed
csantanapr opened this issue May 2, 2017 · 1 comment
Closed

update backoff strategy to be exponential #89

csantanapr opened this issue May 2, 2017 · 1 comment

Comments

@csantanapr
Copy link
Member

csantanapr commented May 2, 2017

The strategy backoff currently is linear with default values of 1second delay with 10 retries.

It should use an exponential backoff instead.
With default values of 10seconds defayl with 10 retries.

Because of OpenWhisk rate limit on trigger limits, it will return 429 statusCode.
OpenWhisk window for the rate limit is 1 minute.

I would make it on first 429 delay for 1 minute, if after 1 minute delay there is a another 429 then I would start exponential back off of 1 seconds (i.e. 2s, 4s, 8s, 16s, 32s, 64s etc..)

@csantanapr csantanapr changed the title update backoff strategy update backoff strategy to be exponential May 2, 2017
@jasonpet
Copy link
Contributor

jasonpet commented May 2, 2017

resolved by PR #90

@jasonpet jasonpet closed this as completed May 2, 2017
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

2 participants