L4 vs L7 Load Balancing
Layer 4 TCP/UDP forwarding vs Layer 7 HTTP routing, when to use each, and hybrid architectures.
Overview
Overview Load balancers are categorized by the OSI layer at which they make routing decisions. The layer decides what information they can use to route traffic and how much overhead they add.
Key concepts
- L4 passthrough
- L7 termination
- Sticky sessions
- Health checks
- Connection draining
Interview questions
- How do you implement a canary deployment using an ALB?
Sign up free to read the full topic
More Networking topics
Start free on Cariara · Coding problems · System design studio