AWS Integration & Messaging Flashcards
Can SQS have duplicate messages? At least once delivery
Yes
Fully managed service, used to decouple applications
Amazon SQS – Standard Queue
Fully managed service, used to decouple applications
Can SQS have out of order messages?
Yes
Unlimited throughput, unlimited number of messages in queue
* Default retention of messages: 4 days, maximum of 14 days
* Low latency (<10 ms on publish and receive)
* Limitation of 256KB per message sent
SQS
regulate access to the SQS API
IAM Policies
In-flight encryption using HTTPS API
At-rest encryption using KMS keys
Client-side encryption if the client wants to perform encryption/decryption itself
AWS SQS + SNS
After a message is polled by a consumer, it becomes invisible to other consumers
SQS – Message Visibility Timeout
If a message is not processed within the visibility timeout, it will be processed twice
True
“wait” for messages to arrive if there are none in the queue
Long Polling
Decreases the number of API calls
made to SQS while increasing the efficiency and
reducing latency of your application
Long Polling
First In First Out (ordering of messages in the queue)
Amazon SQS – FIFO Queue
Unlimited throughput, unlimited number of messages in queue
Amazon SQS – Standard Queue
Limited throughput: 300 msg/s without batching, 3000 msg/s with
Amazon SQS – FIFO Queue
Send one message to many receivers
Amazon SNS