Thursday, January 10, 2013

What is Amazon Simple Queue Service (Amazon SQS)?

Amazon Simple Queue Service (Amazon SQS)

  • reliable, highly scalable, hosted message queue for temporary storage and delivery of short (<= 64kB) text-based data
  • temporary data repository for messages waiting for processing
  • supports unlimited number of queues
  • supports unordered, at-least-once delivery of messages
  • message retention time from 1 hour to a 14 days
  • can minimize use of temporary disk files


What is this used for?

  • glue between components that may work faster or slower than others
  • multi-step processing pipeline
  • for optimization



A single client can send or receive Amazon SQS messages at a rate of about 5 to 50 messages per
second


SQS Pricing - http://aws.amazon.com/sqs/pricing/

Based on number of requests (priced per 10,000 requests) and the amount of data transferred in and out (priced per GB per month)


Anti-Patterns

Binary or large data - use S3 or RDS to storage the binary and store a pointer in SQS

Long term usage - use EBS, RDS

No comments:

Post a Comment