Summary: https://www.udemy.com/course/aws-certified-cloud-practitioner-new/learn/lecture/20260658
App Integrations/Communications in AWS
Ref: https://www.udemy.com/course/aws-certified-cloud-practitioner-new/learn/lecture/20219084
- App integrations = how 2+ apps communicate with each other
- App communication paradigms
- Synchronous communications: sender waits for receiver to acknowledge/respond
- Asynchronous communications: sender sends data, but is not left waiting for receiver to respond (acknowledgements, if necessary, happen in a non-synchronous way)
- Event-driven architectures (EDAs): things happening (events) trigger apps to do stuff (actions). Apps are loosely coupled.
- Decoupling apps from each other = changing synchronous communication to asynchronous
- An app doesn't depend on another to do its job
- Allows independent scaling of apps & isolated failing of apps
- Decoupling can happen with messaging services (queues, topics…)
AWS App Messaging Services
Amazon SQS (Simple Queue Service)
Ref: https://www.udemy.com/course/aws-certified-cloud-practitioner-new/learn/lecture/20056162
- 🔧 Managed, serverless message queues
- Queue: 1-to-1 communication
- FIFO (First-In-First-Out) queue: preserves order, no duplicates, limited scaling
- Standard queue: no guarantee of ordering, can have duplicates, easier scaling

- 1+ Producers send messages to queue
- ❗ Producers don't need to wait for Consumers to read messages → asynchronous
- Messages kept up to 14 days in queue
- 1+ Consumers read (poll) from the same queue
- When message is consumed, consumer deletes message from queue
Amazon SNS (Simple Notification Service)
Ref: https://www.udemy.com/course/aws-certified-cloud-practitioner-new/learn/lecture/20056154
- 🔧 Managed, serverless message topics