Messaging and Integration Services Flashcards
What are queues used for?
To implement loosely coupled systems
FIFO
What is SQS
Simple Queue Service = a message queuing service
Messages processed asynchronously
supports loose coupling
How could SQS be used?
Money transfer app
What are the benefits of using a messaging queue?
Improves performance and scalability
What is SNS?
Simple Notification Service = send emails and texts from apps
can publish to a topic
subscribers can receive messages
Real world use case
Want to send an email when CPU utilization of an EC2 instance goes above 80%
SNS works with CloudWatch to monitor threshold
What is SES?
Simple Email Service = send richly formatted HTML emails from your apps
Ideal for marketing
track open and click-through rates