liveBook · Manning

Visibility timeout

A visibility timeout is a queue interval during which a retrieved message is hidden from other consumers before becoming available again if not acknowledged or removed.

How 2 Manning books explain it

Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A visibility timeout is a queue setting that temporarily hides a received message from other consumers while it is being processed.

How it is used
Coordinates SQS message processing by hiding received work until completion or timeout-driven retry.
How deep it goes
Explains configuration, sizing, acknowledgment, retries, and idempotence, but does not detail timeout extension mechanisms.
Examples
Demonstrates a 120-second Node.js worker that screenshots websites with Puppeteer, uploads images to S3, and deletes messages.
What you can do after
Operate/configure an SQS worker that sizes a visibility timeout and acknowledges successful work safely.

Read how Amazon Web Services in Action, Third Edition: An in-depth guide to AWS explains visibility timeout →

Just Use Postgres!

A visibility timeout is a queue-delivery interval during which a retrieved message remains hidden from other consumers before becoming available again if it is not acknowledged or removed.

How it is used
Supports reliable queue processing by allowing failed or incomplete work to return for another consumer.
How deep it goes
Explains retrieval, hiding, expiration, reappearance, and archiving through a runnable two-minute example.
Examples
Uses a driving-license visitor queue, Noah Bennett, a 120-second timeout, and pgmq.archive.
What you can do after
Operate/configure pgmq.read with a timeout and archive successfully processed messages.

Read how Just Use Postgres! explains visibility timeout →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.