โšœ Simple Queue Service โšœ

Vrukshali Torawane
4 min readFeb 28, 2021

--

"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 !! ๐Ÿ”ฐ

--

--

No responses yet