Case Study of AWS SQS

Amazon SQS is a managed message queue service offered by Amazon Web Services (AWS). SQS stands for Simple Queue Service, SQS was the first service available in AWS. Amazon SQS is a web service that gives you access to queue that can be use to store messages. It provides an HTTP API over which applications can submit items into and read items out of a queue. The queue itself is fully managed by AWS, which makes SQS an easy solution for passing messages between different parts of software systems that run in the cloud.

Amazon SQS is a distributed queue system that enables web service application to queue messages such that one system in the application generates messages to be consumed by another system of application, here we can say that the concept of queue provides a temporary space for messages, that are waiting to be processed. we can say that a queue acts as a buffer between the part of system that producing data and the part of system that recieve data for processing. Queue system resolve the issues that may arise, if the producer system (in a distributed system) is doing work faster then the consumer system can process it.

How does SQS work?

SQS provides an API endpoint to submit messages and another endpoint to read messages from a queue. Each message can only be retrieved once, and you can have many clients submitting messages to and reading messages from a queue at the same time.The messages that SQS handles can be unformatted strings, XML or JSON. Because SQS guarantees “exactly once” delivery, and because you can concurrently submit messages to and read messages from a given queue, SQS is a good option for integrating multiple independent systems.

You might well be asking: why use SQS if you can have an internal HTTP API for each service? While HTTP APIs are an accessible way to expose software systems to external users, it’s not the most efficient mechanism when it comes to integrating purely internal systems. A messaging queue is more lightweight. In particular, SQS also handles things like automated retries, preserving queue state across multiple availability zones in AWS, and keeping track of expiration timeouts on all messages.

Why do we use SQS?

Use Amazon SQS to transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be available. SQS lets you decouple application components so that they run and fail independently, increasing the overall fault tolerance of the system.

Benefits of using Amazon SQS

  • Security — You Control who can send messages to and receive messages from an Amazon SQS queue.
  • 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.

Which companies are benefited by amazon SQS.

686 companies are currently using amazon sqs services some of them are mentioned below then we will do a case study on any one perticular company .

  • RedBus
  • Pinterest.
  • Amazon.
  • Lyft.
  • Stack.
  • medium.com.
  • Accenture.
  • HENNGE K.K.
  • Coursera.
  • BMW

Case study: RedBus

The redBus is an Indian travel agency that specializes in bus travel throughout India by selling bus tickets throughout the country. Tickets are purchased through the company’s Website or through the Web services of its agents and partners. The company also offers software, on a Software as a Service (SaaS) basis, which gives bus operators the option of handling their own ticketing and managing their own inventories. To date, the company says they have sold over 30 million bus tickets and has more than 1750 bus operators using the software to manage their operations.

Thanks for reading , I hope you like the Blog!!!

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter Using Dart : Code Snippets Part -1

Rules Design Pattern

M&A Due Diligence: Spotting the Dark Cloud

Managing the B2B SaaS Sales Machine — Part 3: Excel Model

Butler v2.0 — Real-time error and warning dashboards for Qlik Sense

What is Loop Statement in C

Intro to Git

CHEATSHEET OF COMMANDS

GIT & GITHUB — Getting started

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mukul Jeveriya

Mukul Jeveriya

More from Medium

Monitor & Analyze Build with CI/CD pipeline with webpack 4

Setting up email receiving on AWS using SES

Using AWS API Gateway to Build an End-to-end HTTP API

How to delete Ansible host entries from hosts file using Ansible