1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
I would strongly suggest you to read in details this series of 3 blog posts about SQS best practices: https://aws.amazon.com/blogs/compute/implementing-aws-well-architected-best-practices-for-amazon-sqs-part-3/ (part3 has links to other 2)
It will help you implement an SQS architecture that matches the best practices of AWS Well-Architected.
On your question re. visibility timeout computation: it is defined at https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html
When a consumer receives a message from an Amazon SQS queue, the message
remains in the queue but becomes temporarily invisible to other consumers. This
temporary invisibility is controlled by the visibility timeout, a mechanism that
prevents other consumers from processing the same message while it is being
worked on. Amazon SQS does not automatically delete the message; instead, the
consumer must explicitly delete the message using the DeleteMessage action after it has been successfully processed.
Best,
Didier
Relevant content
- AWS OFFICIALUpdated 5 years ago
