Resilient Architectures - Availability Flashcards
1
Q
Redundancy, loose coupling and availability
A
- Redundancy enables loose coupling, and this improves availability and performance (by allowing to scale services independently)
2
Q
How to calculate availability?
A
It’s calculated separately by each service:
- Between different AWS services, or hard dependencies (if that service goes down the application becomes unavailable):
1. Multiply the availability of components together - Between the same services, or redundant components:
1. Multiply the failure rate of every component
2. Subtract that number from 100%
NOTE: Decide your availability requirements before beginning your design
3
Q
Loose coupling
A
- Means when one component doesn’t depend on a specific component
- Elastic services are always composed of redundant components, and always loosely coupled with other resources
- SQS is useful to connect loosely coupled services
- When using ELB there is a one-to-many relationship with the clients
4
Q
Cloud native applications
A
- Depend on a cloud service that can’t be deployed on on-premises
- Availability not necessarily higher than traditional applications, so it can be improved by using multiple regions
- Trusted Advisor can be used to find out your service limits