• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Amazon simple queue service
 

Amazon simple queue service

on

  • 882 views

 

Statistics

Views

Total Views
882
Views on SlideShare
882
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Amazon simple queue service Amazon simple queue service Presentation Transcript

    • Simple Queue Service (SQS) Dayanand Shanmugham http://www.linkedin.com/in/dayanandshanmugham http://dkangala.wordpress.com January 2013
    • Simple Queue Service (SQS) http://aws.amazon.com/sqs/SQS enables us to store and retrieve messages – this could be done betweenapplications or between distributed components of an application thatperform different tasks.Key Highlights:1.Message body can contain 64KB of text2.Messages can be sent, received or deleted in batch of 103.Retained in queue for up to for 14 days4.Secure sharing of queue data with other AWS AccountsSample Use Case with respect to how SQS, EC2, S3 and SimpleDB usedtogether is shown in next slide.
    • Simple Queue Service (SQS) http://aws.amazon.com/sqs/Use Case: Web Site For “Video Transcoding”1.End users submit videos to be transcoded to the website2.The videos are stored in Amazon S3, and a message (“the request message”) isplaced in an Amazon SQS queue (“the incoming queue”) with a pointer to thevideo and to the target video format in the message3.The transcoding engine, running on a set of Amazon EC2 instances, reads therequest message from the incoming queue, retrieves the video from Amazon S3using the pointer, and transcodes the video into the target format4.The converted video is put back into Amazon S3 and another message (“theresponse message”) is placed in another Amazon SQS queue (“the outgoingqueue”) with a pointer to the converted video5.Metadata about the video (e.g., format, date created and length) is indexed intoAmazon SimpleDB for easy querying6.During this whole workflow, a dedicated Amazon EC2 instance constantlymonitors the incoming queue and based on the number of messages in theincoming queue, dynamically adjust the number of transcoding Amazon EC2instances to meet customers’ response time requirements.