Interview concept

What is load balancing?

Load balancing distributes incoming requests across a pool of servers so no single instance is overwhelmed, improving throughput, availability, and fault tolerance.

Interview concept

How it works

Algorithms

Round robin, least connections, and hashing strategies route requests based on different goals.

Layers

Layer 4 balancers route by transport connection; layer 7 balancers route by application data like URLs.

Health and failover

Balancers run health checks and remove unhealthy instances to keep the service available.

Interview concept

Responsible use

Use any live AI assistant only where interview, workplace, school, and platform rules allow it. Do not use generated answers to misrepresent your skills, experience, or authorship.

FAQ

Common questions.

What algorithms do load balancers use?

Common ones include round robin, weighted round robin, least connections, and consistent hashing.

What is the difference between L4 and L7 balancing?

L4 routes by TCP or UDP connection information; L7 routes using application-level data such as HTTP paths and headers.