Load Balancers, Proxies and CDN
When one server cannot handle all the traffic, networks add helpers in front of it: a load balancer to spread requests, a reverse proxy to hide and protect the servers, and a CDN (content delivery network) to keep copies of files close to users. Backend and system-design interviews ask these as soon as the answer "scale the server" comes up. They tie together the earlier sections: TCP, HTTP, TLS, DNS and caching.
After this section you can explain what each helper does, name the common balancing methods, say what layer 4 and layer 7 balancing mean, and describe what a CDN stores and how a request reaches it.
Topics in this section
- Load balancer
- Layer 4 and layer 7 balancing
- Reverse proxy
- CDN
- Caching layers
- Putting it together