apache / apache/openwhisk-client-js

handle 429 responses with exponential backoff retries

Open
#148 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
84
Forks
55
PR merge metrics
No merged PRs in 30d

Description

When using `openwhisk.action.invoke()` or other operations one can encounter HTTP 429 TOO MANY REQUESTS status code responses from [Openwhisk's rate limiting](https://github.com/jberstler/openwhisk/blob/master/docs/reference.md). It would be nice if the openwhisk js client can provide a retry mechanism out of the box.

The suggested approach is a exponential backoff. This was implemented e.g. here: https://github.com/apache/incubator-openwhisk-package-cloudant/pull/90

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.