what is sqs in aws

1 year ago 57
Nature

Amazon Simple Queue Service (SQS) is a managed message queuing service offered by Amazon Web Services (AWS) . It allows users to send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available. SQS is intended to provide a highly scalable hosted message queue that resolves issues arising from the common producer-consumer problem or connectivity between producer and consumer. Some key features of Amazon SQS include:

  • Standard Queues: These support a nearly unlimited number of transactions per second and can be used for most applications.

  • FIFO Queues: These provide exactly-once processing, which means that each message is delivered once and remains available until a consumer processes it and deletes it.

  • Payload Size: Message payloads can contain up to 256KB of text in any format. Each 64KB ‘chunk’ of payload is billed as 1 request. To send messages larger than 256KB, you can use the Amazon SQS Extended Client Library for Java, which uses Amazon Simple Storage Service (S3) to store the message payload.

  • Queue Sharing: Securely share Amazon SQS queues anonymously or with specific AWS accounts. Queue sharing can also be restricted by IP address and time-of-day.

  • Server-side Encryption (SSE): Protect the contents of messages in Amazon SQS queues using keys managed in the AWS Key Management Service (AWS KMS). SSE encrypts messages as soon as Amazon SQS receives them.

Amazon SQS provides a generic web services API that can be accessed using any programming language that the AWS SDK supports. It is used by technical professionals and developers to send, store, and retrieve multiple messages of various sizes asynchronously. SQS is compatible with many other AWS products, including Amazon Relational Database Service, Amazon Elastic Compute Cloud, and Amazon Simple Storage Service.