Application Services Flashcards
What is SQS ?
It is web service that you access to a message queue, that can be used to store messages.
Pulled based, not push based
messages are 256kb in size
messages are kept in the queue between 1 min - 14days
default retention period = 4 days
SQS guarantees delivery once.
SQS Queues types?
1) Standard
2) FIFO Queues
Characteristics of the SQS Standard Queue?
1) It is the standard queue.
2) nearly unlimited transactions per second
3) guarantees message delivery (once)
4) provides best effort ordering.
Characteristics of the SQS FIFO Queue?
1) Compliments the standard queue
2) uses first in first out, not best effort.
3) support message queue groups
4) 300 Transactions per second.
visibility timout
default = 30 seconds if your tasks take longer than 30 seconds then increase this.
What is SWF?
Amazon Simple Workflow Service. (used to fulfil orders in amazon.com warehouses)
What is an SWF Worker ?
A program that interacts with SWF to get tasks, process received tasks and return the results.
What is an SWF Decider?
A program that controls the coordination of tasks. (i.e. ordering, concurrency, and scheduling according to the application logic).
What is SNS ?
Simple Notification Service ?
What is the role of SNS?
It is a web service that makes it easy to setup operate and send notifications from the cloud.
SNS Capabilities?
Can deliver messages via sms, email or SQS queues.
can also trigger lambda functions. (message payload is the lambda input)
It is the service that notifies you about autoscaling and instance health.
SNS benefits:
Pushed based delivery (no polling) simple API + easy integration flexible message delivery inexpensive (pay as you go) web-based AWS management console
SNS vs SQS :
Push (SNS) vs Pull (SQS)
Elastic Transcoder:
It allows you to convert media files from their original source format into different formats that will play on different devices.
* Pay based on minutes spent transcoding.
What is the API Gateway
A fully managed service that makes it easy for developers to publish maintain and monitor APIs at scale.