From Surf Wiki (app.surf) — the open knowledge base
Amazon Simple Queue Service
Cloud-based message queuing service
Cloud-based message queuing service
| Field | Value |
|---|---|
| name | Amazon Simple Queue Service |
| logo | AWS Simple Icons Messaging Amazon SQS.svg |
| developer | Amazon.com |
| license | Proprietary software |
| website |
Amazon Simple Queue Service (Amazon SQS) is a distributed message queuing service introduced by Amazon.com as a beta in late 2004, and generally available in mid 2006.
API
Amazon provides SDKs in several programming languages, including:
- C++
- Go
- Java
- JavaScript
- Kotlin
- .NET
- PHP
- Python
- Ruby
- Rust
- Swift
A Java Message Service (JMS) 1.1 client for Amazon SQS was released in December 2014.
Operation
Amazon SQS FIFO sessions are queue-based messaging systems that provide ordering guarantees within a message group or session attempt but do not necessarily guarantee ordered delivery in cases of retries or failures. In SQS FIFO, messages in the same message group are processed in order, with subsequent messages held until the preceding message is successfully processed or moved to the dead-letter queue (DLQ). Once a message is placed in the DLQ, it is no longer retried, creating a gap in the sequence. However, the remaining messages continue to be delivered in order.
Message delivery
Messages can be of any type, and the data contained within is not restricted. Message bodies were initially limited to 8KB in size but was later raised to 64KB on 2010-07-01 and then 256KB on 2013-06-18. For larger messages, the user has a few options to get around this limitation. A large message can be split into multiple segments that are sent separately, or the message data can be stored using Amazon Simple Storage Service (Amazon S3) or Amazon DynamoDB with just a pointer to the data transmitted in the SQS message. Amazon has made an Extended Client Library available for this purpose.
The service supports both unlimited queues and message traffic.
Notable usage
Examples of companies that use SQS extensively include:
- Dropbox
- Netflix{{Cite web | archive-url=https://web.archive.org/web/20161128083030/http://techblog.netflix.com/2011/04/more-like-this-building-network-of.html | archive-date=2016-11-28
- Nextdoor{{Cite web
- Amazon.com
References
References
- (2006-07-13). "Amazon Simple Queue Service Released".
- Barr, Jeff. (2014-08-19). "My First 12 Years at Amazon.com".
- AWS. (2024). "AWS SDKs and Tools".
- "FIFO queue delivery logic in Amazon SQS - Amazon Simple Queue Service".
- "Using dead-letter queues in Amazon SQS - Amazon Simple Queue Service".
- "Amazon SQS FIFO queues - Amazon Simple Queue Service".
- (2010-07-01). "Amazon SQS introduces Free Tier and adds Support for Larger Messages and Longer Retention".
- (2013-06-18). "Amazon SQS and SNS Announce 256KB Large Payloads".
- {{GitHub. awslabs/amazon-sqs-java-extended-client-lib. An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
- Amazon Web Services. (2014-11-14). "AWS re:Invent 2014 {{!}} (PFC308) How Dropbox Scales Massive Workloads Using Amazon SQS".
- "Amazon SQS FAQs {{!}} Message Queuing Service {{!}} AWS".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Amazon Simple Queue Service — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report