What is a Load Balancer? #4906
Answered
by
NadeeshaMedagama
malikaweerakoon1974
asked this question in
Q&A
Replies: 1 comment
|
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 Problems: Server overload |
0 replies
Answer selected by
malikaweerakoon1974
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)