Skip to content
Discussion options

You must be logged in to vote

A Load Balancer is a component that distributes incoming client requests across multiple servers to improve performance, availability, and reliability.

Instead of sending all traffic to one server, it spreads requests among several servers.

Without Load Balancer
10,000 Users


Web Server

Problems:

Server overload
Slow response time
Single point of failure
With Load Balancer
10,000 Users


Load Balancer
/ |
▼ ▼ ▼
Server1 Server2 Server3
Advantages
High availability
Better performance
Automatic traffic distribution
Fault tolerance
Horizontal scaling
Popular Load Balancers
Nginx
HAProxy
AWS Application Load Balancer (ALB)
AWS Network Load Balancer (NLB)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by malikaweerakoon1974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants