Cloud Integrations Flashcards
What are the two types of communications between cloud applications? What do these mean?
Synchronous - Direct communication 1-to-1 where 1 event immediately results in 1 message being sent.
Asynchronous - There is a queue between the applications that measures and distributes the traffic more carefully.
What is a potential problem with synchronous communication between applications?
If there is a sudden spike in traffic outside of the normal provisioning, the service can quickly become overwhelmed.
How does SQS work?
Producers send messages into the queue when an event is triggered that needs something else to happen.
When it is the turn of that message, it is distributed to the consumer which takes in the message and performs the required action.
What is 1 huge benefit of having SQS between parts of an application?
It allows different parts of the application to scale independently of each other depending on their needs.
What is a FIFO queue?
First in first out
What is the term for going from synchronous to asynchronous communication between applications/application segments?
Decoupling
What is AWS Kinesis?
A service that facilitates real-time big data streaming to collect, process and analyse.
Who can SNS send messages to for a topic?
All customers subscribed to a topic, but also services such as Lambda, SQS etc.
What is Amazon MQ?
A service that allows backward compatibility for alternative message brokers other than SNS and SQS for organisations that developed on premise and don’t want to rewrite/migrate over to SQS and SNS
What are the disadvantages of using alternative message brokers through AWS MQ?
- Doesn’t scale as much
- AWS does the same but is only one provider
- Runs on servers so you need to set it up in multiple AZs to have failovers