Amazon SNS/SQS with Go
summary
Demonstrates a Go command‑line app using AWS SDK to create sessions, call sns.New(sess) and sqs.New(sess), publish to an SNS topic and receive from multiple SQS queues, then delete messages by receipt handle; used to move Philips CPAP uploads into a queue to absorb backpressure and it works. Notes: SNS topics distribute to subscribed SQS queues, FIFO queues cannot subscribe to SNS, messages get a message ID, receive uses a receipt handle. Operational specifics: 50 ms clustering delay, 14-day retention, standard queues not FIFO, SQS long-poll up to 20s.
AI-written summary · about
