Cloud Integrations Flashcards
1
Q
Types of application communication
A
- Synchronous
app to app - Asynchronous (event based)
app to queue to app
2
Q
Asynchronous Communication Pro/Con
A
- Sudden spikes in traffic can cause issues
- Services can scale independently
3
Q
SQS (Simple Queue Service)
A
- Decouple applications
- Fully managed (serverless)
- Default retention 4 days (max 14)
- No limit on # of messages in queue
- Messages are deleted after they’re read
- Low latency (<10ms)
- Consumers share the work to read messages & scale horizontally
- FIFO
4
Q
Kinesis
A
Real-time big data streaming (asynchronous)
5
Q
SNS (Simple Notification Service)
A
- Decouple apps
- Sent to one queue which send to many recipients
- Event publisher sends message to a SNS topic
- Event subs listen to the SNS topic notifications
- Each sub gets all messages from that topic
- Each topic can have 12 mil subs
- Each account limited to 100k topics
- Notification
6
Q
Amazon MQ
A
- SQS and SNS are cloud native service proprietary protocols from AWS
- When migrating to cloud instead of re-engineering the application to use SQS/SNS, you can use Amazon MQ
-
Managed message broker service for
Rabit MQ
ActiveMQ