⚜ Simple Queue Service ⚜

"With the time savings that the IT and development staffs obtain from the AWS solution, AWS gives us an overall cost benefit of about 30-40%."
- Charan Padmaraju
Chief Technology Officer, redBus

🔅 What is Amazon SQS ??

Amazon SQS stands for Simple Queue Service. It is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message oriented middleware, and empowers developers to focus on differentiating work. Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available.

🔅 How does SQS work?

SQS provides a message-submitting API endpoint and another endpoint to read messages from a queue. Each message can only be retrieved once, and at the same time, you can have many customers submit messages and read messages from a queue. Since you can send messages to and read messages from a given queue simultaneously, SQS is a good choice for integrating multiple independent systems.

🔅 Basic Architecture :

🔅Benefits of Using Amazon SQS :

👉🏻 Pay for what you use

You only get charged for the messages you read and write when using SQS.

👉🏻 Ease of setup

Since SQS is a managed service, no infrastructure needs to be set up to start using SQS. To read and write messages, you may simply use the API, or use the SQS & Lambda integration.

👉🏻 Scalability

Size the SQS queues to the number of messages you write and read. You don’t need to scale the queues; AWS takes care of all of the scaling and performance-at-scale aspects.

👉🏻 A separate queue for unprocessed messages

For debugging, this feature of SQS is useful. All messages that can not be processed are sent to a “dead-letter” queue where they can be checked. This queue has allowed all the normal integrations, so you can subscribe to it using, for example, an AWS Lambda event to send a notification when it is not possible to process an object.

🔅Companies Using AWS SQS

Following are the popular companies who use Amazon Simple Queue Service :

👉🏻 BMW

👉🏻 NASA

👉🏻 EMS Driving Fuel IQ

👉🏻 Capital One

👉🏻 Redbus

👉🏻 OyesterChange Healthcare

🔅What is redBus ?

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.

🔅Challenges this company faced :

The company previously ran its operations from a traditional data center by purchasing and renting its systems and infrastructure. In addition to the expense, several logistical problems evolved from this arrangement. The biggest problem was that the infrastructure could not effectively handle processing fluctuations, which had a negative impact on productivity. Additionally, the procurement of servers or upgrading the server configuration was an extremely time-consuming endeavor.

Over time, redBus realized that a better solution was imperative — a solution that offered scalability to handle the company’s processing fluctuations. redBus looked to Amazon Web Services (AWS) for a solution.

🔅Solution :

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

The company has incorporated many of the AWS products into its solution, including Amazon Elastic Compute Cloud (Amazon EC2), Elastic Load Balancing, Amazon Relational Database Service (Amazon RDS), Amazon Simple Storage Service (Amazon S3), Amazon Elastic Block Store (Amazon EBS), and Amazon CloudWatch.

Charan Padmaraju, Chief Technology Officer believes that 

With features like
Elastic Load Balancing and multiple availability zones, AWS provides the required infrastructure to build for redundancy and auto-failover. When you incorporate these in your system/application design, you can achieve high reliability and scale.

Of the many excellent characteristics of AWS, perhaps the most significant to redBus is the ability to “instantly replicate the whole setup on demand for testing by creating and destroying instances on demand for experimentation, thereby reducing the time to market.” Less time to market translates to increased profitability and success.

The travel agency anticipates expanding the AWS solution to include Amazon Simple Notification Service (Amazon SNS) and Amazon Simple Queue Service (Amazon SQS) for monitoring, alerts, and intercommunication

Since joining forces with AWS, redBus has gained the freedom to experiment on new solutions and applications at minimal cost, increased the efficiency of its operations, and improved its profitability.

Thanks for Reading !! 🙌🏻😁📃

🔰 Keep Learning !! Keep Sharing !! 🔰

--

--

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
Vrukshali Torawane

DevOps Engineer • Terraform Certified • 2x RedHat Certified • DevOps Technical Writer✍🏻 • she/her • Learner Forever