Jump to content

Amazon Simple Queue Service

From Wikipedia, the free encyclopedia
(Redirected from Amazon SQS)
Amazon Simple Queue Service
Developer(s)Amazon.com
LicenseProprietary software
Websiteaws.amazon.com/sqs/

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.[1][2]

API

[edit]

Amazon provides SDKs in several programming languages, including:[3]

A Java Message Service (JMS) 1.1 client for Amazon SQS was released in December 2014.[citation needed]

Operation

[edit]

Amazon SQS FIFO and Azure Service Bus 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.[4][5][6]

Message delivery

[edit]

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[7] and then 256KB on 2013-06-18.[8] 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.[9]

The service supports both unlimited queues and message traffic.

Notable usage

[edit]

Examples of companies that use SQS extensively include:

See also

[edit]

References

[edit]
  1. ^ "Amazon Simple Queue Service Released". Amazon Web Services. 2006-07-13. Retrieved 2021-10-29.
  2. ^ Barr, Jeff (2014-08-19). "My First 12 Years at Amazon.com". jeff-barr.com. Retrieved 2021-01-11.
  3. ^ AWS (2024). "AWS SDKs and Tools". Retrieved 2024-05-29.
  4. ^ "FIFO queue delivery logic in Amazon SQS - Amazon Simple Queue Service". docs.aws.amazon.com. Retrieved 2025-03-22.
  5. ^ "Using dead-letter queues in Amazon SQS - Amazon Simple Queue Service". docs.aws.amazon.com. Retrieved 2025-03-22.
  6. ^ "Amazon SQS FIFO queues - Amazon Simple Queue Service". docs.aws.amazon.com. Retrieved 2025-03-22.
  7. ^ "Amazon SQS introduces Free Tier and adds Support for Larger Messages and Longer Retention". aws.amazon.com. 2010-07-01. Retrieved 2021-01-11.
  8. ^ "Amazon SQS and SNS Announce 256KB Large Payloads". aws.amazon.com. 2013-06-18. Retrieved 2021-01-11.
  9. ^ An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3. on GitHub
  10. ^ Amazon Web Services (2014-11-14). AWS re:Invent 2014 | (PFC308) How Dropbox Scales Massive Workloads Using Amazon SQS. Retrieved 2024-12-07 – via YouTube.
  11. ^ Granqvist, Hans (2011-04-18). ""More Like This…" Building a network of similarity". Netflix Tech Blog. Archived from the original on 2016-11-28.
  12. ^ Fang, Wenbin (2014-08-13). "Nextdoor Taskworker: Simple, Efficient & Scalable". Nextdoor Engineering.
  13. ^ "Amazon SQS FAQs | Message Queuing Service | AWS". Amazon Web Services, Inc. Retrieved 2024-12-07.