Other AWS Services Flashcards
Distributed Message Queueing System
SQS
SQS allows us to ____________ the components of an application so that they are independent.
decouple
SQS is Pull based, not push based. True or False?
True
What are the two types of Amazon SQS queues?
first-in, first-out (FIFO) and standard queues
Characteristics of Amazon SQS standard queues?
- Best-effort ordering.
- Message delivered at least once.
- Occasional duplicates.
4 .The default queue type.
Characteristics of Amazon SQS (FIFO) queues?
- First-in-first-out message order is strictly preserved.
- Messages are delivered once.
- No duplicates.
- Good for banking transactions which need to happen in a strict order.
The amount of time that the message is invisible in the SQS queue after a reader picks up that message.
SQS Visibility Timeout
SQS Visibility Timeout Default is?
30s. Increase if the task takes >30s to complete, up to a maximum of 12 hours.
SQS Settings that a response is returned immediately even if no messages are in the queue. A cost per response.
Short Polling
SQS Settings that is periodically polls the queue and only returns a response when a message is in the queue, or the timeout is reached. Most cost effective option.
Long Polling
It allows you to postpone delivery of new messages.
SQS Delay Queue
Messages in a SQS Delay Queue remain invisible for the duration of the
delay period of?
0 - 900s or 15mins
SQS Delay Queue use case
Large distributed applications which may need to introduce a delay in processing
Use _______ to store large SQS messages > 256KB and up to 2GB in size.
S3
Use ______ for Java to manage Large SQS Messages.
Amazon SQS Extended Client Library
The ______ for Java provides an API for S3 operations e.g. GET and DELETE
AWS SDK
SNS supports ?
SMS, SQS, HTTP, email.
SNS has Pub/sub model which means?
consumers must subscribe to a topic
SNS is for push notifications only. Not for receiving notifications. True or False
True
SNS can ________ messages to a large number of recipients (e.g. to multiple SQS queues, HTTP endpoints, and email addresses)
Fanout