An online retailer wants to ensure that its billing application and its shipping notification application can operate independently. By inserting an Amazon Simple Queue Service (Amazon SQS) queue between the two applications, a delay in shipping notifications will not prevent billing transactions from completing. Which AWS Cloud design principle does this architecture demonstrate?
- AMonolithic design
- Loose couplingAnswer
- CTight coupling
- DVertical scaling
Answer
Loose coupling
Loose coupling is the design principle of reducing dependencies between components. In this scenario, placing Amazon SQS between the billing and shipping applications decouples them. If the shipping application slows down or fails, the billing application can still successfully process transactions and add messages to the queue, preventing a cascading failure.
Step-by-Step Solution
Key Concept
Loose coupling is an AWS Cloud design principle that reduces interdependencies between components, ensuring that a change or failure in one does not affect the others.