sqs-lambda-bridge icon indicating copy to clipboard operation
sqs-lambda-bridge copied to clipboard

Nonlinear retries

Open jelder opened this issue 6 years ago • 0 comments

Errors are retried immediately and forever. Would be good to enter a truncated exponential backoff loop or similar. A full jitter algorithm is available and in use by the AWS client. We should make sure failed messages are retried after an interval derived from that.

https://github.com/Blissfully/sqs-lambda-bridge/blob/eba837a7b080092ed44706aa53125c33aa8da1be/src/aws.js#L4-L15

jelder avatar May 23 '18 13:05 jelder