Articles → AWS → Amazon Simple Queue Service
Amazon Simple Queue Service
Purpose
Steps
- Create an SQS
- Send and receive messages
Create An SQS
Send And Receive Messages
Polling In SQS
- Short polling - Retrieves a subset of requests from a given queue. Basically, the short polling does not wait for message to arrive. It returns the message immediately even if message queue is empty
- Long polling - Retrieves all the requests on the given queue. Basically, the long polling waits for message to arrive
How To Set The Polling?
Short Polling And Empty Response
Types Of Queues
| Standard Queue | FIFO Queue |
|---|
| Standard queues support nearly unlimited number of transactions per second | FIFO queues support up to 300 messages per second |
| Occasionally, messages were delivered in the order that is different from which they are sent | The order of message is strictly preserved |
| A message is delivered at least once. Occasionally, more than one copy of message is delivered | A message is delivered only once and remains in the queue until the customer process or delete the message |
| Posted By - | Karan Gupta |
| |
| Posted On - | Wednesday, November 10, 2021 |
| |
| Updated On - | Wednesday, August 17, 2022 |