AWS SQS
2 min readMay 3, 2023
Sqs = Message Queuing Service
Amazon Simple Queue Service is a distributed message queuing service introduced by Amazon.com as a beta in late 2004, and generally available in mid 2006. It supports programmatic sending of messages via web service applications as a way to communicate over the Internet.
Queue Types:
- Standard Queues: This queue provides unlimited throughput to support unlimited number of API calls per second , per the API action.Messages are delivered in a correct order(Occasionally the order of the messages are missed).More than one of the message is delivered
- FIFO Queues: Batch processing , FIFO supports 3000 API calls per second . To increase the calls we need to request the AWS support team.Message is delivered once remains available until a consumer processes and deletes it. Duplicates aren’t introduced into the queue.Order of the messages are preserved strictly.
Cool Features of SQS
- Visibility Timeout : Messages can be set to expire and deleted after a set amount of time, even if they have not been delivered yet.
- Message Redelivery: If a message is not acknowledged, it will be resent up to three times before being deleted from the queue.
- Message persistence: Messages are stored in queues until they are delivered or deleted by the sending or receiving endpoints.
Advantages of SQS:
- Reliability on delivery off messages.
- Scale elastically and cost- effectively.
- Secures Sensitive information
- Eliminate Administrative overhead.
- Customization : Default delay of queue.