SNS SNS SWF Flashcards
What is SQS?
Web service that gives access to a message queue to store messages while waiting for a computer to process them
SQS Message size
Up to 256Kb of text in any format
Downside of SQS
Not guaranteed first in first out
How does SQS pull task messages from the queue?
Asynchronously, receives named file, processes, completes and deletes
SQS timeout
12 hours visibility
SQS Billing size
at 64Kb chunks
Pricing for SQS
First million free per month
$.5 per 1 million each moth
SQS Default message visibility
30 seconds
To change visibility time
Use the ChangeMessageVisibility action to specify timeout time
Long polling
Way to retrieve messages, but doesn̥t until the poll times out.
For example ec2 sends a message to see if there are messages
Maximum long poll timeout
20 seconds
Polling in tight loops is burning CPU cycles and costing the company money, how would you fix this?
Long polling
Fanning out
Using SNS to pass along SQS messages to other SQS streams
SQS was the first service on the AWS platform?
TRUE
SQS What is the default visibility time out setting?
30 seconds