What Is a Visibility Timeout?
A visibility timeout is a window, common in queues like Amazon SQS, during which a message that a consumer has picked up is invisible to other consumers. If the consumer deletes the message within that window, it is gone for good; if not, the message reappears for another attempt. The timeout must be long enough to cover normal processing time.
Why it matters
Set too short, a slow consumer lets the message reappear and get processed twice; set too long, a crashed consumer delays redelivery. Latchkey worker jobs run on SQS, where tuning this timeout balances duplicate work against recovery speed.
Related guides
What Is Message Acknowledgment?Message acknowledgment is the signal a consumer sends to confirm it has processed a message, telling the brok…
What Is a Poison Message?A poison message is one a consumer repeatedly fails to process, causing it to be redelivered over and over an…
What Is At-Least-Once Delivery?At-least-once delivery guarantees a message is delivered at least one time, accepting possible duplicates in…