What is our primary use case?
I have been heavily using Amazon SQS for the last more than four years in serverless and decoupled solutions.
We use it in workflows like order creation, where the order creation task is queued, allowing consumers to pull and process the information in batches.
SQS helps in loose coupling between producers and consumers and is valuable for storing failed record processing through DLQs.
What is most valuable?
One of the most valuable features of Amazon SQS is its ability to handle large-scale data with millions of records per queue. The scale it manages is quite impressive.
Additionally, features such as message retention up to 14 days are impactful, as they allow for the processing of messages if consumer systems are slow or unavailable. Integration capabilities with services like EC2, Lambda, EventBridge, and SNS for a fan-out pattern further enhance its functionality.
What needs improvement?
A primary area of improvement for Amazon SQS is the message size limitation, which is currently restricted to 256 kilobytes per message. If this could be increased, it would benefit many use cases. Additionally, SQS uses a pull-based mechanism rather than a push-based one, which requires consumers to poll for new messages.
For how long have I used the solution?
I have been using Amazon SQS for more than four years.
What do I think about the stability of the solution?
Amazon SQS is very stable. It was one of the first services launched by AWS, indicating its mature and reliable nature.
What do I think about the scalability of the solution?
Amazon SQS can handle an increased load and scale vertically without any issues. However, one should be aware of possible message duplicates and sequence changes when handling multiple producers and consumers.
How are customer service and support?
No questions have been escalated to technical support.
How was the initial setup?
The initial setup of Amazon SQS is straightforward, requiring a few minutes if the policies are clearly understood. Proper permissions need to be set in both the SQS policy and resource-based policy to ensure successful message delivery and consumption.
What was our ROI?
SQS has proven its value in handling sudden spikes of active users and maintaining message integrity. By using DLQs and SNS fan-out methods, workflows are not disrupted by failures. These methods also allow for processing messages later if they're initially unsuccessful.
What's my experience with pricing, setup cost, and licensing?
Amazon SQS offers a generous free tier, beyond which it remains very cost-effective. The cost per million messages is less than a dollar, making it an economical choice.
What other advice do I have?
I would recommend Amazon SQS, especially for designing decoupled systems where one component doesn't depend on another. It's an optimal choice for high availability and reliably handling queuing mechanisms. In terms of size and scalability, SQS excels.
I'd rate the solution nine out of ten.
Which deployment model are you using for this solution?
Public Cloud