Ravi Sir's Cards › AWS
Visibility timeout and DLQ
This revision card explains Visibility timeout and DLQ. A crash mid-process can lose work or reprocess forever without care. It describes visibility timeout hides an in-flight message; after max receives a DLQ holds poison messages. The how-to section covers how to set timeout ≥ processing time; attach redrive; alarm on DLQ depth; fix then redrive. An example on the card is payment worker fails JSON , then message lands in orders-dlq after 3 tries.
Read card text
What this card says
Why do we need it?
A crash mid-process can lose work or reprocess forever without care.
What is it?
Visibility timeout hides an in-flight message; after max receives a DLQ holds poison messages.
DLQ
How to do it
Set timeout ≥ processing time; attach redrive; alarm on DLQ depth; fix then redrive.
Example
Payment worker fails JSON → message lands in orders-dlq after 3 tries.