Arth-Task: 22

Arth-Task: 22

Task Description??

??? Research on use-cases of AWS SQS and create a blog, Article elaborating how it works.

Hello, Connections !!!

This is an important article on Amazon SQS and its industrial use cases. In this article, you will get to know about Amazon SQS in detail.

What is Amazon SQS (Simple Queue Service)?

AWS SQS (Amazon Simple Queue Service) is a service which helps to align the message. Moreover, it also helps to enable the user to separate and scale microservices, distributed system, and serverless applications.

Amazon SQS makes it easy to manage the operating message-oriented middleware and enhances the developers to focus on their work. Amazon Simple Queue Service works at any volume without losing the message or requiring other services to be available.

It helps to send, store, and receive messages between software components. AWS SQS can start with the help of the tools such as Amazon Console, command line interface, and SDK.

In Amazon SQS there are two types of queues which are Standard Queue and AWS SQS FIFO. Standard queue offers at least one delivery and maximum throughput. The FIFO queues guarantee that the processed message takes place only once in the first in first out basis.

How SQS works?

Amazon Simple Queue Service (SQS) is a message queueing service for reliably communicating among distributed software components and microservices at any scale. SQS builds on these ideas and offers an API that can be used by developers to connect with the service.

The main actions in high-level are:

  • Send Message: A service sends a request to a queue that is available for use by another service.
  • Receive Message: Another service can request to receive pending messages in the queue;
  • Delete Message: Upon proper processing of a message, the user can remove it from the queue;

SQS does not operate as a database, so the user can not decide which message from the queue to receive. However, it can decide how many messages it wants to receive at any given time.

After receiving a message SQS will temporarily delete it from the queue. This is to stop eating it twice (although in some situations it can still happen-see the section below). The message will be hidden for a certain time, and the user will have the ability to process it and later erase it from the list.

If the message is not removed after the timeout duration of visibility, it will go back to the queue and will be received in future requests. The timeout interval for visibility can be adjusted.

Types of SQS:-

1. Standard Queue

  • It has a benefit of supporting an ample amount of transactions per second per API action.
  • As the message is delivered on at a time but at the same time, it delivers more than one copy of a message.
  • It may happen that the message delivered is in the different order from the source in which they were sent.

2. FIFO Queue

  • It has a high throughput which can send 300 messages per second which include 300 send, receive, and delete operation per second.
  • The message is not duplicated it is stored with the customer until and unless customer deletes it.
  • The messages are treated in first in first out order as the message sent and received is strictly preserved.

Benefits of Amazon Simple Queue Service

These are the 4 benefits of Amazon SQS, let’s discuss them:

No alt text provided for this image

1. Eliminate Administrative Overhead

AWS manages all in progress operations and underlying infrastructure required to produce an extremely accessible and scalable message queuing service.

With AWS SQS, there’s no direct value, no ought to acquire, install, and assemble messaging package, and no long build-out and maintenance of supporting infrastructure.

Amazon SQS queues are dynamically created and scale automatically, therefore, you’ll be able to build and grow applications quickly and with efficiency.

2. Reliably Deliver Messages

Use AWS SQS to transmit any volume of data, at any level of output, while not losing messages or requiring alternative services to be accessible. Amazon SQS helps you to decouple application parts in order that they run and fail severally, increasing the fault tolerance of the system.

Multiple copies of each message area unit hold on redundantly across multiple accessible zones in order that they’re out there whenever required.

3. Keep Sensitive Information Secure

You can use Amazon SQS to exchange sensitive data between applications using server-side secret writing (SSE) to inscribe every message body.

The AWS SQS compass point integration with AWS Key Management Service (KMS) permits you to centrally manage the keys that defend SQS messages together with keys that defend your alternative AWS resources.

AWS KMS logs each use of your encryption keys to AWS CloudTrail to assist meet your restrictive and compliance wants.

4. Scale Elastically and Cost-Effectively

AWS SQS leverages the AWS cloud to dynamically scale supported demand. Amazon SQS scales elastically together with your application. Therefore, you don’t have to worry regarding capability designing and pre-provisioning.

There’s no limit to the number of messages per queue, and commonplace queues offer nearly unlimited output. Prices area unit supported usage that provides important value saving versus the “always-on” model of self-managed electronic messaging middleware.

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

Amazon SQS Case Study: 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. 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.

How RedBus used SQS as a service from AWS for expanding their business :

The Challenges

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.

The Benefits

Since migrating to AWS, redBus has seen measurable improvements in the bottom line. Padmaraju says, “By scaling up and down dynamically based on the load, we maintain performance as well as minimize cost. 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%.” He adds, “By hosting at [the AWS Asia Pacific (Singapore) region], redBus.in gained significantly in terms of website performance by way of reduced latency (about 4x). This is a great advantage when the customers are from India.”

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) an 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 our applications,” says Padmaraju.

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.

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

Conclusion:

Hence, we studied that the AWS SQS helps to send the unlimited number of messages and in any region. Message payloads consist of 256KB of text which can be in any format. If the text is of the size larger than this extended client library for Java Programming can use.

Send and read messages can be done simultaneously. Amazon SQS queries can share anonymously or with some specific AWS accounts. The sharing can restrict for some time and by the IP address.

The contents of the message of AWS SQS can secure using keys managed by the AWS Key Management Service. This helps a lot for the user to use SQS in an efficient manner.


要查看或添加评论,请登录

Hritik Kumar的更多文章

  • ARTH TASK 14.3

    ARTH TASK 14.3

    Task Description?? ?? 14.3 Create an ansible Playbook which will dynamically load the variable file named the same as…

  • ARTH Team Task 1

    ARTH Team Task 1

    Task Description?? Create a menu using Python integrating all the concepts that have been taught by Vimal sir till now.…

  • Industry use cases of Neural Networks

    Industry use cases of Neural Networks

    What are Neural Networks? A neural network is a series of algorithms that endeavors to recognize underlying…

  • Industries are solving challenges using Ansible

    Industries are solving challenges using Ansible

    Task Description Create a Article, blog or Video on how industries are solving challenges using Ansible What is Ansible…

    2 条评论
  • How Kubernetes is used in Industries

    How Kubernetes is used in Industries

    What is Kubernetes ? Kubernetes is an open-source container orchestration platform that enables the operation of an…

  • AWS: Netflix Case Study

    AWS: Netflix Case Study

    We all have a dream to do some type of startup but when it comes to funding, almost all of the new startups have a…

  • Artificial Intelligence in automotive Industry

    Artificial Intelligence in automotive Industry

    What is Artificial Intelligence ? Artificial intelligence (AI) is the simulation of human intelligence processes by…

  • How to contribute limited amount of storage as slave to the cluster

    How to contribute limited amount of storage as slave to the cluster

    Task Description:- In a Hadoop cluster, find how to contribute limited/ specific amount of storage as slave to the…

  • Hadoop Cluster Availability

    Hadoop Cluster Availability

    What is Hadoop ? Hadoop is an open-source software framework for storing data and running applications on clusters of…

    4 条评论

社区洞察

其他会员也浏览了