What is Amazon Simple Queue Service?

Benefits of using Amazon SQS

  • Server-side encryption (SSE) lets you transmit sensitive data by protecting the contents of messages in queues using keys managed in AWS Key Management Service (AWS KMS).
  • Durability — For the safety of your messages, Amazon SQS stores them on multiple servers. Standard queues support at-least-once message delivery, and FIFO queues support exactly-once message processing.
  • Availability — Amazon SQS uses redundant infrastructure to provide highly-concurrent access to messages and high availability for producing and consuming messages.
  • Scalability — Amazon SQS can process each buffered request independently, scaling transparently to handle any load increases or spikes without any provisioning instructions.
  • Reliability — Amazon SQS locks your messages during processing, so that multiple producers can send and multiple consumers can receive messages at the same time.
  • Customization — Your queues don’t have to be exactly alike — for example, you can set a default delay on a queue. You can store the contents of messages larger than 256 KB using Amazon Simple Storage Service (Amazon S3) or Amazon DynamoDB, with Amazon SQS holding a pointer to the Amazon S3 object, or you can split a large message into smaller messages.

Differences between Amazon SQS, Amazon MQ, and Amazon SNS

Amazon MQ is a managed message broker service that provides compatibility with many popular message brokers. We recommend Amazon MQ for migrating applications from existing message brokers that rely on compatibility with APIs such as JMS or protocols such as AMQP, MQTT, OpenWire, and STOMP.

Who uses Amazon SQS?

How NASA use Amazon SQS service?

Using Simple Queue Service we can store, send and receive the messages between two devices, without losing the data and without requiring the presence of a receiver device.

SQS provides two ways of messages sending:-

2) FIFO Queue:- It means data will send in an orderly.

Using Simple Queue Service, we can trigger the processing pipelines when new content comes up without much delay.

We can integrate the Simple Queue service with S3 service, Lambda function, and cloud watch.

NASA uses a simple queue service for image and video processing. It helps to decouple incoming jobs from the pipeline process and the Amazon Notification service helps to trigger the events when new data come up from the developer side.

SQS Visibility Timeout

It is the amount of time that the message is invisible from the message queue after consumers consume the message.

The Default Visibility Time out is 30 seconds.

Important features of SQS:-

2) Message size is 256 KB in size.

After pulling the message, always delete that request otherwise a single message came multiple times on a single device.

That’s all for this blog, hope you liked it..🙌🏻😁📃

Thank you for reading…!!!