Skip to content
Surf Wiki
Save to docs
general/amazon-web-services

From Surf Wiki (app.surf) — the open knowledge base

Amazon Simple Queue Service

Cloud-based message queuing service


Summary

Cloud-based message queuing service

FieldValue
nameAmazon Simple Queue Service
logoAWS Simple Icons Messaging Amazon SQS.svg
developerAmazon.com
licenseProprietary 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

  1. (2006-07-13). "Amazon Simple Queue Service Released".
  2. Barr, Jeff. (2014-08-19). "My First 12 Years at Amazon.com".
  3. AWS. (2024). "AWS SDKs and Tools".
  4. "FIFO queue delivery logic in Amazon SQS - Amazon Simple Queue Service".
  5. "Using dead-letter queues in Amazon SQS - Amazon Simple Queue Service".
  6. "Amazon SQS FIFO queues - Amazon Simple Queue Service".
  7. (2010-07-01). "Amazon SQS introduces Free Tier and adds Support for Larger Messages and Longer Retention".
  8. (2013-06-18). "Amazon SQS and SNS Announce 256KB Large Payloads".
  9. {{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.
  10. Amazon Web Services. (2014-11-14). "AWS re:Invent 2014 {{!}} (PFC308) How Dropbox Scales Massive Workloads Using Amazon SQS".
  11. "Amazon SQS FAQs {{!}} Message Queuing Service {{!}} AWS".
Wikipedia Source

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.

Want to explore this topic further?

Ask Mako anything about Amazon Simple Queue Service — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This 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