applications1 Flashcards
SQS
web service that gives access to MQ. It is a distributed queing system that enables web applications to quickly and reliably queue messages.
Why use SQS
decouple so that they run independently easing message managemnet between components
Message size in SQS
256KB. But you can go upto 2GB in which case s3 storage will be used.
SQS queues types
Standard queues(default), FIFO queues
TPS of standard queues
unlimited tps. ensures message is delivered at least once. But occassionally more than one copy of the message may be delivered.
FIFO
order is stictly preserved. Exactly one time processing.
FIFO TPS
300tps. But have all other capabilities of standard queurs
SQS
First service on aws
Message retention
1min to 14 days. The default retention period is 4 days.
Visibility timeout max
12 Hours
Duplicates
After visibility timeout if the message is still not procesed the msg will become visible again and may result in duplicates
SQS long poll
doesn’t return a response until a message arrives in message queue or the long poll times out.
SWF
web service that makes it easy to coordinate work across distributed application components
SWF task
represents invocation of various processing steps in an application which can be performed by executable code, web service calls, human actions and scripts
SWF retention
upto 1 year