Classic Solutions Architecture Discussions Overview Flashcards
Stateless Web App: WhatIsTheTime.com
Requirements
Stateless web app: What time is it?
Starting simple
Stateless web app: What time is it?
Scaling vertically
Stateless web app: What time is it?
Scaling horizontally
Stateless web app: What time is it?
Scaling horizontally (a little better)
Stateless web app: What time is it?
Scaling horizontally, adding and removing instances
Stateless web app: What time is it?
Scaling horizontally, with a load balancer
Stateless web app: What time is it?
Scaling horizontally, with an auto-scaling group
Stateless web app: What time is it?
Making our app multi-AZ
Stateless web app: What time is it?
Minimum 2 AZ => Let’s reserve capacity
Stateless web app: What time is it?
Final Thoughts
Stateful Web App: MyClothes.com
Requirements
Stateful Web App: MyClothes.com
Starting Simple
Stateful Web App: MyClothes.com
Introduce Stickiness (Session Affinity)
Stateful Web App: MyClothes.com
Introduce User Cookies
Stateful Web App: MyClothes.com
Introduce Server Session
Stateful Web App: MyClothes.com
Storing User Data in a database
Stateful Web App: MyClothes.com
Scaling Reads
Stateful Web App: MyClothes.com
Scaling Reads (Alternative) – Lazy Loading
Stateful Web App: MyClothes.com
Multi AZ – Survive disasters
Stateful Web App: MyClothes.com
Security Groups
Stateful Web App: MyClothes.com
Final Thoughts
Stateful Web App: MyWordPress.com
RDS layer
Stateful Web App: MyWordPress.com
Scaling with Aurora: Multi AZ & Read Replicas