---
answer: direct
beat: system-design
source: 1 article · updated: November 15, 2026
---

When should an architecture use Layer 4 instead of Layer 7 load balancing?

Use Layer 4 (TCP/UDP) when raw throughput and sub-millisecond connection handling are critical, or when handling non-HTTP protocols (e.g., database wire protocols, gaming UDP streams). Use Layer 7 when routing requires reading HTTP paths, headers, or cookies.

Answered in

Traffic Engineering at the Boundary: Load Balancers, Gateways and Reverse Proxies

How Layer 4 and Layer 7 balancers, edge API gateways, and reverse proxies coordinate to shape, authenticate, and distribute web-scale traffic.

Crashtech Editorial November 15, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.