Edge and Traffic
Everything between the user and your servers: CDNs, proxies, load balancers and their algorithms, API gateways and rate limiting.
- 6 topics
- Quiz on every topic
0% read
- 0 / 6topics read
- –average quiz score
- 0 daysreading streak
- 0saved to revise
Your progress is saved in this browser. Nothing is sent to us.
Module 04
Edge and Traffic
-
4.1
Read
Content Delivery Networks (CDNs)
A CDN keeps copies of your files on servers around the world so users download them from nearby. Learn how pull and push CDNs work, what makes a good cache key, and how to update content safely.
-
4.2
Read
Forward and Reverse Proxies
A proxy is a middleman for network traffic. A forward proxy acts for clients; a reverse proxy acts for servers, handling TLS, caching, compression and routing in front of your app.
-
4.3
Read
Load Balancers
A load balancer spreads requests across many servers, skips unhealthy ones and lets you add capacity without users noticing. Learn layer 4 vs layer 7, health checks, sticky sessions and how to keep the load balancer itself up.
-
4.4
Read
Load Balancing Algorithms
How a load balancer picks a server: round robin, weighted round robin, least connections, hashing and the "power of two choices". When each works, when it fails, and tested code for the main ones.
-
4.5
Read
API Gateway
An API gateway is the single front door to many backend services. It routes requests, checks authentication, applies rate limits and can combine several calls into one. Learn what belongs in it and what does not.
-
4.6
Read
Rate Limiting
Rate limiting caps how many requests a client can make in a period, protecting your system from abuse and overload. Learn token bucket, leaky bucket, fixed and sliding windows, how to share limits across servers, and what to send back.