Professional Documents
Culture Documents
Guided By Presented By
NANDINI GOWDA P MANASA SB
Contents
1.Introduction
2.Basic architecture
3. Types of amazon SQS
4. Standard Queue
5. Fifo queue
6. Examples of Implementations of SQS
7. Benefits of SQS
8. Decoupling of SQS
9. Conclusion
INTRODUCTION
Amazon Sqs is a web service that gives you acess to a message
queue that can be used to store messages while waiting for a
computer to process
2. FIFO Queues
Standard Queues
At-Least-Once Delivery:
A message is delivered at least once, but occasionally more
than one copy of a message is delivered.
Best-Effort Ordering:
Occasionally, messages might be delivered in an order
different from which they were sent.(PTO FOR THE FIG)
Amazon SQS FIFO (First-In-First-Out) Queues
Display the correct product price by sending price modifications in the right
order.
Exactly-Once Processing:
A message is delivered once and remains available until a consumer processes
and deletes it. Duplicates aren't introduced into the queue.
Examples of
Implementations
of SQS
Priority Queue Pattern
Implementation
Use SQS to prepare multiple queues for the individual priority levels.
Prepare numbers of batch servers, for processing the job requests of the
queues, depending on the priority levels.
Queues have a message "Delayed Send" function. You can use this to
delay the time for starting a process.
SQS Job Server Pattern
Implementation
Enqueue job requests as SQS messages.
A simple use case for the below architecture could be building an end-
end messaging service, or sending out transactional emails.
AWS KMS logs every use of your encryption keys to AWS CloudTrail
to help meet your regulatory and compliance needs.
Synchronous and Asynchronous AWS Decoupling Solutions
You can add and remove instances from your load balancer
as your needs change, without disrupting the overall flow of
requests to your application.
There are two types of ELBs:
Application load balancers: work in between your web
servers and the application servers, generally doing content-
based routing.
-The nodes of an internal load balancer have only private IP addresses.
-Therefore, internal load balancers can only route requests from clients
with access to the VPC for the load balancer.
Cost-allocation tags can ne used to organise and identify the queues purpose, its
owner and its environment.This comes in handy when there are many queues
which need to be handeled.
Hence we understood how SQS can be used to efficiently manage messages that
flow through queues.
THANK YOU
FOR YOUR
COOPERATION