An SQS FIFO queue has thousands of messages, but consumers receive nothing for minutes at a time.
AdvancedTroubleshootingRoute 53, CloudFront, API Gateway and Messaging
Answer
Likely causes → FIFO guarantees order per message group. While a message from a group is in flight (received but not deleted), no other message in that group is delivered. If most messages share one MessageGroupId, a single slow or failing message blocks everything behind it until the visibility timeout ends.
Diagnose →
aws sqs get-queue-attributes --queue-url <fifo-url> \
--attribute-names ApproximateNumberOfMessages ApproximateNumberOfMessagesNotVisible VisibilityTimeout RedrivePolicy
# check producer code: what is MessageGroupId set to?
Fix →
- Use a finer-grained group ID (per customer or order), so groups process in parallel
- Add a DLQ so poison messages leave the group
- Make sure consumers delete or extend visibility promptly
Prevent → Choose the group key for the ordering you really need. Use high-throughput FIFO mode only with many groups.
More on Route 53, CloudFront, API Gateway and Messaging
You created a public hosted zone and records for `example.com`, but `dig example.com` returns `NXDOMAIN` or old records.Beginner`InvalidChangeBatch: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.`BeginnerThe primary Region is down, but Route 53 failover records still send traffic to it.IntermediateA Route 53 health check reports `Failure: Connection timed out` for an endpoint that works fine from your laptop.IntermediateYou changed an A record an hour ago, but some users still reach the old server, and a newly created name returned `NXDOMAIN` for a while.AdvancedCloudFront returns `403 AccessDenied` (S3 XML) for every object after you switched the S3 origin to Origin Access Control.Intermediate