SQS Flashcards
SQS. What does it mean. What does it do.
Simple Queue Service
Handles delivered of messages between components.
True or false. SQS is fully managed.
True.
SQS. Explain visibility timeouts.
When the consumer takes an item off the queue. It disappears from the queue so other can not process it.
If the consumer does not mark the item as processed. It then reappears on the queue.
Explain important characteristics of standard SQS queues
Unlimited throughput. Good chance of messages wing ordered correctly.
FIFO Queue. Explain.
First in first out.
Preserves message order, but has lower throughout.
Long Polling in SQS. Explain.
Long polling doesn’t return the poll, till there is a message in the queue or the poll time’s out.
This has potential cost saving benifits.
Short polling in SQS. Explain.
Short polling is the standard option. The poll returns immediately, even if the message queue is empty.
Does message visibility eliminate the risk that you might process a message from an SQS queue twice?
It reduces. It does not eliminate.
You need to guarantee a message on a queue is only processed once. Harry pie of queue should you use.
FIFO