Application Integration
Amazon SQS
Amazon SQS provides durable queues that buffer work between application components. It protects model workers from bursts and lets long-running GenAI jobs retry without holding synchronous connections.
Key points
- Visibility timeout hides a message only while a consumer is expected to finish
- Standard queues provide at-least-once delivery; FIFO queues add ordered deduplication constraints
- Dead-letter queues isolate repeatedly failing jobs
When to use it
- Queue asynchronous document summarization requests
- Throttle embedding work to match downstream quotas
Exam tips
- Use SQS to buffer work and EventBridge to route events across consumers
- Set visibility timeout beyond processing time and make side effects idempotent