Section 17: Decoupling applications:SQS,SNS,Kinesis,Active MQ Flashcards
1
Q
What can you use to determine to scale up your consumers on a SQS queue?
A
- Making use of CloudWatch Metric which will give you the queue length
2
Q
What SQS Queue Access Policies do you get?
A
- Cross Account Access: Allowing users from other accounts to post message to your queue
- Publish S3 Event Notifications to SQS Queue
3
Q
SQS - What is message Visibility Timeout?
A
- The time after the consumer has polled, it becomes invisible to other consumers.
4
Q
AWS SQS - What is Dead Letter Queue?
A
- When a consumer has read the message but was not able to process it so it was placed back on the queue and at some stage the threshold will be reach on the number of times the message was placed back on the queue.
5
Q
AWS SQS - What is delay Queue?
P186
A
- Its a delay after a producer has send a message and the time the consumber can see/read it.
6
Q
AWS SQS - What is Request Response System and how do you implement it?
P188
A
- Making using of one Request queue and one or more response queue. You make use of AWS’s “SQS Temporary Queue Client” to implement this method.
7
Q
What is AWS SQS FIFO Queue?
A
- First in first out
- It has limited throughput
- Exactly once send capability
- Message are processed in order by the consumer
8
Q
What is SNS + SQS: Fan Out pattern?
A
- Push once in SNS, receive in all SQS queues that are subsribes
- Fully decoupled, no data loss.
- SQS allow for: data persistance,delayed processing
- Ability to add more SQS subscribers over time