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 #8

Open
alieberman opened this issue Mar 12, 2021 · 0 comments
Open

Exponential Backoff #8

alieberman opened this issue Mar 12, 2021 · 0 comments
Assignees

Comments

@alieberman
Copy link

Work in Progress

Description:

For the HTTPS and SQS destinations, implement exponential backoff.

Acceptance Criteria:

  1. Make exponential backoff configuration based and able to take in
    1. number of retries
    2. Initial wait time
    3. Add new type in https://github.com/BigCompass/bc-serverless-logging-framework/blob/master/src/bc-serverless-logging-framework/types.ts for exponential retries
    4. Add new backoff config in line 35 https://github.com/BigCompass/bc-serverless-logging-framework/blob/master/src/bc-serverless-logging-framework.ts
    5. Update createLog function
  2. Formula for exponential backoff is number of retries * initial wait time
  3. For SQS https://github.com/BigCompass/bc-serverless-logging-framework/blob/master/src/bc-serverless-logging-framework/destinations/sqs.ts line 30 does the send
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