Load Balancing — distributing traffic. Clustering — multiple servers working together.
Load Balancing:
Load Balancer:
Request → LB → Server A (30%)
→ Server B (30%)
→ Server C (40%)
Clustering:
Cluster:
[Node 1] ←→ [Node 2] ←→ [Node 3]
(Working together, failover)
Key differences: