Dev Tools · 2h ago
SQS Visibility Timeout Mismatch Causes Duplicate Lambda Processing
When an SQS queue's visibility timeout is shorter than its Lambda's processing time, messages are redelivered while still being processed, causing duplicate outputs like double emails. The bug is hard to catch because it only appears under production latency and the two timeouts are configured separately. Infrawise detects this mismatch by comparing queue visibility timeout against Lambda function timeout.
Meridian48 take
This is a classic infrastructure gotcha that highlights how default settings and separate configuration surfaces create silent, costly bugs.
Read the full reporting
Your SQS Queue Is Redelivering Messages Your Lambda Is Still Processing →
DEV Community
sqslambda