AWS SQS Case Study - Red Bus

AWS SQS Case Study - Red Bus

🤩🤩 Hello Connections 🤩🤩

✨ Welcome You All To The World of Cloud Computing ✨

This Article is based on case study of one of the service of Global Cloud Leader Amazon Web Services (AWS) that is ⚡ Amazon Simple Queue Service (SQS) ⚡ .

No alt text provided for this image

🤔 What Is AWS Simple Queue Service (SQS) ?

No alt text provided for this image

🔷 Amazon Simple Queue Service (SQS) 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.

🔶 SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent.

🤔 What Is A Message Queue ?

No alt text provided for this image

🔶 A message queue is a form of asynchronous service-to-service communication used in serverless and microservices architectures. Messages are stored on the queue until they are processed and deleted. Each message is processed only once, by a single consumer. Message queues can be used to decouple heavyweight processing, to buffer or batch work, and to smooth spiky workloads.

No alt text provided for this image

🔷 Message queues allow different parts of a system to communicate and process operations asynchronously. A message queue provides a lightweight buffer which temporarily stores messages, and endpoints that allow software components to connect to the queue in order to send and receive messages. The messages are usually small, and can be things like requests, replies, error messages, or just plain information. To send a message, a component called a producer adds a message to the queue. The message is stored on the queue until another component called a consumer retrieves the message and does something with it.

💥 Benefits Of AWS SQS 💥

No alt text provided for this image

🔷 Eliminate administrative overhead

AWS manages all ongoing operations and underlying infrastructure needed to provide a highly available and scalable message queuing service. With SQS, there is no upfront cost, no need to acquire, install, and configure messaging software, and no time-consuming build-out and maintenance of supporting infrastructure. SQS queues are dynamically created and scale automatically so you can build and grow applications quickly and efficiently.

🔷 Reliably deliver messages

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. Multiple copies of every message are stored redundantly across multiple availability zones so that they are available whenever needed.

🔷 Keep sensitive data secure

You can use Amazon SQS to exchange sensitive data between applications using server-side encryption (SSE) to encrypt each message body. Amazon SQS SSE integration with AWS Key Management Service (KMS) allows you to centrally manage the keys that protect SQS messages along with keys that protect your other AWS resources. AWS KMS logs every use of your encryption keys to AWS CloudTrail to help meet your regulatory and compliance needs.

🔷 Scale elastically and cost-effectively

Amazon SQS leverages the AWS cloud to dynamically scale based on demand. SQS scales elastically with your application so you don’t have to worry about capacity planning and pre-provisioning. There is no limit to the number of messages per queue, and standard queues provide nearly unlimited throughput. Costs are based on usage which provides significant cost saving versus the “always-on” model of self-managed messaging middleware.

⚡ Red Bus With AWS SQS ⚡

No alt text provided for this image

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.

💠 Use Case

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.

⏩ Migration Towards AWS Cloud Services

After testing the AWS solution on a small application for several months, the travel agency determined that it was very workable and convenient. Although redBus was quite enthusiastic about the on-demand instances and variety of instance types, several other features cemented the company’s decision to migrate completely to AWS. These features included the ability to easily manage access to servers through security groups, the easy-to-use, self-service management console, the concept of Elastic IPs, and superior support.

💥 AWS SQS Solution For Red Bus 💥

The travel agency anticipates expanding the AWS solution to include Amazon Simple Queue Service (Amazon SQS) for monitoring, alerts, and intercommunication. Amazon SQS is an especially good solution for enabling messaging between external applications and the applications.

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

🔶 Benefits of AWS

  • Reduced costs by up to 40%
  • Reduced website latency by 4x
  • Able to instantly replicate test environments, which in turn reduces time to market
No alt text provided for this image





Saranya Chattopadhyay

Full Stack Developer - DevSecOps @IBM • DevOps Practitioner • Ex Intern @CommVault, HighRadius • 2x GCP, 1x Microsoft, 1x RedHat Certified Engineer

3y

Great content!

Nilesh Gopale

MTS 1 @Cohesity | Ex-Veritas | Kubernetes | Docker | Golang | Python

3y

Well done bro Onkar Naik ✨🙌

GAURAV DESHMUKH

Former SDE Intern @Raja Software Labs, Pune

3y

Impressive work !!!

Prabhjeet Singh

Software Engineer @ FinSpectra | Platform Developer-1 Certified Salesforce Developer | Salesforce QA Tester

3y

Great work Onkar Naik

To view or add a comment, sign in

More articles by Onkar Naik

  • Gremlin - The Magic Of Chaos Engineering

    Gremlin - The Magic Of Chaos Engineering

    🤩 Hello Connections 🤩 😈 Welcome to the world of Chaos Engineering 😈 🔶 In this article, we going to see how to…

    14 Comments
  • Jenkins - The Heart of DevOps Automation

    Jenkins - The Heart of DevOps Automation

    🤩🤩 Hello Connections 🤩🤩 ✨ Welcome You All To The World of DevOps CI/CD Automation ✨ This Article is based on case…

    36 Comments
  • SIEMENS Healthineers With Azure Kubernetes Service (AKS)

    SIEMENS Healthineers With Azure Kubernetes Service (AKS)

    🤩🤩 Hello Connections 🤩🤩 ✨ Welcome You All To The World of DevOps ✨ This Article is based on case study of one of…

    20 Comments
  • Ansible Use Cases & Case Study

    Ansible Use Cases & Case Study

    !! Hello Connections !! ✨ Welcome You All To World Of Automation ✨ 💥 This Article is based on Use Cases and Case Study…

    26 Comments
  • Launching A Webserver & Python Interpreter On Docker Container

    Launching A Webserver & Python Interpreter On Docker Container

    !! 𝗛𝗲𝗹𝗹𝗼 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻𝘀 !! ✨ Welcome you all to my article based on TASK-7.2 of ARTH - The School Of…

    16 Comments
  • Designing High Availability Architecture with AWS S3 & CloudFront Using AWS CLI

    Designing High Availability Architecture with AWS S3 & CloudFront Using AWS CLI

    !! 𝗛𝗲𝗹𝗹𝗼 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻𝘀 !! ✨ Welcome you all to my article based on TASK-6 of ARTH - The School Of…

    32 Comments
  • Limiting The Storage In Hadoop Cluster By Data Node

    Limiting The Storage In Hadoop Cluster By Data Node

    !! 𝗛𝗲𝗹𝗹𝗼 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻𝘀 !! ✨ Welcome you all to my article based on 𝗧𝗔𝗦𝗞 - 𝟰.𝟭 of 𝘼𝙍𝙏𝙃 - 𝙏𝙝𝙚…

    32 Comments
  • Building Basic AWS Cloud Infrastructure Using AWS CLI

    Building Basic AWS Cloud Infrastructure Using AWS CLI

    !! 𝗛𝗲𝗹𝗹𝗼 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻𝘀 !! ✨ Welcome you all to my article based on TASK-2 of AWS CSA & Developer…

    28 Comments
  • Coursera Cuts Build Times by 83% Using AWS Codebuild, Amazon ECS

    Coursera Cuts Build Times by 83% Using AWS Codebuild, Amazon ECS

    !! Hello Connections !! ☁ Welcome you all to the world of Cloud Computing ☁ This Article is based on one of the case…

    44 Comments
  • Introduction to Big Data Problems and their Solutions

    Introduction to Big Data Problems and their Solutions

    ‼ 𝐇𝐞𝐥𝐥𝐨 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 ‼ As now a days everything got connected to Internet as we everyday keep our things…

    12 Comments

Insights from the community

Others also viewed

Explore topics