Web Architecture
How a request reaches your app: DNS, CDNs, load balancers, containers, resilience and caching.
- Lesson 1
Start here: Web Architecture
Follow one HTTPS request through DNS, CDNs, load balancers and containers to the app and back: the map for the rest of the series.
- Lesson 2
DNS, BGP & Anycast
How DNS resolution works, how BGP routes traffic across the internet, and why anycast often beats DNS-based failover.
- Lesson 3
CDNs & HTTP Caching
How HTTP caching and CDNs work, what Cache-Control really means, and how a small drop in cache hit rate can overwhelm your servers.
- Lesson 4
WAF, DDoS & Rate Limiting
How web application firewalls, DDoS mitigation and rate limiting protect the edge, and how attackers get around them.
- Lesson 5
Proxies & Load Balancers
How Layer 4 and Layer 7 load balancers and reverse proxies work, and why HTTP/2 changes how traffic should be balanced.
- Lesson 6
Containers & K8s Networking
How containers really work using Linux namespaces and cgroups, and how Kubernetes networking connects pods and services.
- Lesson 7
Timeouts, Retries & Resilience
Modern distributed systems achieve high availability through redundancy, utilizing multiple servers, Availability Zones, and cellular architectures to prevent localized failures from cascading.
- Lesson 8
Redis Caching & Pooling
Effective web architecture requires careful management of data-tier scaling, connection pooling, and caching strategies to prevent catastrophic cascading failures.