connect
DevAx
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SQS to Lambda: Tips
• For low-concurrency, high-duration functions, set visibility timeout to
6x function duration. This will avoid receiveCount retries and DLQ.
• Check that visibility timeout is always greater than function duration to
avoid duplicate invokes
• Even a fraction of errors will induce backpressure and interfere with
ramping up to full concurrency
• The number of invocations does not equal throughput. Maximum
batching is not guaranteed.