AWS SQS Case Studies

Shivam Upadhyay
5 min readAug 12, 2021

Simple Queue Service (SQS) is an acronym for Simple Queue Service. It is an AWS service that provides access to a message queue that may be used to hold messages while they are being processed by a computer. A queue is a temporary repository for messages that are awaiting processing.
It’s a pay-per-use web service for holding messages while they’re in transit from one machine to another. SQS allows developers to create distributed applications with decoupled components without the burden of constructing and managing message queues.

If we didn’t have SQS, then what happened?

The information was passed from a webserver to an application server, which subsequently requested an airline service. A user’s inquiry is lost if an Application Server crashes. One of the best features of SQS is that data is queued there. The message in the queue is designated as invisible in a timeout interval window even if the application server crashes. When the timeout expires, the message is re-queued, and a new EC2 instance can use it to complete its task. As a result, we may conclude that SQS eliminates the need for an application server.

Features

Unlimited Throughput:

A practically infinite number of transactions per second (TPS) are supported by standard queues for each API action.

At-Least-Once Delivery:

A message is delivered at least once, but occasionally more than one copy of a message is delivered.

Exactly-Once Processing:

A message is sent once and remains available until it is processed and deleted by the recipient. There are no duplicates added to the queue.

First-In-First-Out Delivery:

The order of sending and receiving messages is rigorously adhered to (i.e. First-In-First-Out).

Benefits

  • Security — You have complete control over who can send and receive messages from an Amazon SQS queue. Server-side encryption (SSE) protects the contents of messages in queues using keys controlled by the AWS Key Management Service, allowing you to send sensitive data (AWS KMS).
  • Durability — Amazon SQS saves your messages on numerous servers to ensure their security. At-least-once message delivery is supported by standard queues, and exactly once message processing is supported by FIFO queues.
  • Availability — Amazon SQS makes use of redundant infrastructure to provide highly concurrent message access as well as high availability for message production and consumption.
  • Scalability — Without any provisioning instructions, Amazon SQS can process each delayed request individually, scaling transparently to manage any demand surges or spikes.
  • Reliability — Messages in Amazon SQS are locked during processing so that several producers and consumers can send and receive messages at the same time.
  • Customization — Your queues don’t have to be identical; for example, you can set a queue’s default delay. You can use Amazon Simple Storage Service (Amazon S3) or Amazon DynamoDB to store the contents of messages greater than 256 KB, with Amazon SQS holding a pointer to the Amazon S3 object, or you can divide a large message into smaller messages.

Top Companies using Amazon SQS

NASA

More than 1,40,000 still images, audio, recordings, and videos are available through the NASA Image and Video Library, which documents NASA’s more than a half-century of achievements in exploring the great unknown. Amazon SQS is used to separate incoming jobs from pipeline operations, and Amazon Simple Notification Service is used to start the processing pipeline when new content is added.

BMW

With names including Rolls Royce, BMW, and Mini, the BMW Group is one of the world’s leading manufacturers of premium cars and mobility services. It is utilizing AWS for its new connected-car application, which collects sensor data from BMW 7 Series vehicles in order to provide drivers with dynamically updated map information. BMW used Amazon Simple Storage Service (Amazon S3), Amazon Simple Queue Service (Amazon SQS), Amazon DynamoDB, Amazon Relational Database Service (Amazon RDS), and AWS Elastic Beanstalk to create its new car-as-a-sensor (CARASSO) service in under six months. CARRASCO can react to quickly changing load requirements by scaling up and down by two orders of magnitude in less than 24 hours by running on AWS.

RedBus

redBus is an Indian travel service that specialized in bus travel across the country and sells bus tickets all around the country. For monitoring, alerts, and intercommunication, the travel agency plans to expand the AWS solution to include Amazon Simple Notification Service (Amazon SNS) and Amazon Simple Queue Service (Amazon SQS).

“Amazon SQS is an especially good solution for enabling messaging between external applications and our applications,” says Padmaraju.

Capital One

Capital One is transitioning from self-managed message-oriented middleware technologies to Amazon SQS to modernize their retail message queuing. SQS is being used by Capital One to transfer numerous essential banking systems to the cloud in order to improve availability and cost-effectiveness while reducing administrative complexity and expense.

These are some of the companies that are being benefitted from Amazon's SQS service.

Thank you for reading!! :)

Do connect with me on Linkedin :

https://www.linkedin.com/in/shivam-prasad-upadhyay/

--

--