Skip to content
We areTOP 1%

What is a load balancer, and why is it used?

EasyConceptLoad Balancing
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

A load balancer is a server or managed service that receives client traffic and forwards each request to one of several backend servers. It enables horizontal scaling, improves availability by routing around failed servers, and gives clients a single stable address.

  • Health checks: it probes backends periodically and stops sending traffic to unhealthy ones.
  • Extra duties: TLS termination, connection pooling, compression and request logging are often handled at the load balancer.
  • Placement: between clients and web servers, and often between internal tiers such as application servers and backend services.
  • Redundancy: run load balancers in active-passive or active-active pairs, or use a managed cloud load balancer, so that they do not become a single point of failure.

More in Load Balancing

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account