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

What is the difference between Layer 4 and Layer 7 load balancing?

A Layer 4 balancer routes by IP address and TCP or UDP port without reading the payload, so it is fast and protocol-agnostic. A Layer 7 balancer understands HTTP, so it can route by path, host or header, terminate TLS, rewrite requests and apply per-request policies, at higher cost per connection.

Answered in

Load Balancers Demystified: Layer 4 vs Layer 7, Algorithms and Health Checks

What a load balancer decides, how Layer 4 and Layer 7 differ, which algorithm fits which traffic, and the health-check mistakes that cause outages.

Crashtech Editorial November 14, 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.