Design Performant Architecture Flashcards
3 design pillar
- Performant storage and database
- Caching
- Design for elasticity and scalability
Where to store static content?
S3
S3 bucket is always belongs to …
a single region
On S3 you have to pay for 3 things
- Storage GB/month
- Transfer out of the region
- API(PUT,COPY,POST,LIST,GET) requests
On S3 you don’t have to pay for
- Transfer into S3
2. Transfer out to CloudFront or into the same region
3 database offering
- Amazon Relational Database
- DynamoDB
- Redshift
Redshift is designed to
analytics queries (it gives you an sql interface)
Amazon RDS
is a managed relational database
Use Amazon RDS if you need
- Complex queries/join operations
2. Transactions
Amazon RDS will not scale …
beyond a single master instance
For high volume read/write, the database is …
DynamoDB
2 Scaling options for RDS
- Larger master instance
2. Read replicas
Which Amazon RDS database engines support read replicas?
- MySQL
- MariaDB
- PostgreSQL
- Aurora
2 ElasticCache Engines
- Memcached
2. Redis
Why use CloudFront to dynamic content?
Use the Amazon infrastructure instead of public internet