Messaging and Integration Services Flashcards
loose coupling
Loose coupling helps reduce the risk of cascading failures between components.
Loosely coupled components are connected but not dependent on each other. Should have microservices not monolithic application (tight coupling).
Simple Queue Service (SQS)
SQS is a message queuing service that allows you to build loosely coupled systems.
Messages are processed in an asynchronous manner.
Multiple components (or producers) can add messages to the queue.
SQS in the Real World: Build a money transfer app that performs well under heavy load. SQS lets you build an app that is loosely coupled, allowing components to send, store, and receive messages. The use of a messaging queue helps to improve performance and scalability.
Simple Notification Service (SNS)
SNS allows you to send emails and text messages from your applications.
SNS in the Real World: Send an email when CPU utilization of an EC2 instance goes above 80%.
Simple Email Service (SES)
SES is an email service that allows you to send richly formatted HTML emails from your applications.
Ideal choice for marketing campaigns or professional emails.
Unlike SNS, SES sends HTML emails.
SES in the Real World: Send a marketing email and track open or click-through rates.