Professional Documents
Culture Documents
Load Balancing in Internet
Load Balancing in Internet
Presentation On
address.
Inside the virtual server, LVS directs incoming network connections to
the
different servers according to scheduling algorithms.
LVS architecture
Nat
VS-NAT advantages and
Advantages:disadvantages
◦ Real servers can run any OS that supports TCP/IP
◦ Only an IP address is needed for the load balancer,
real servers can use private IP address
Disadvantages
◦ The maximum number of server nodes is limited,
because both request and response packers are
rewritten by the load balancer. When the number of
server nodes increase up to 20, the load balancer will
probably become a new bottleneck
Virtual Server via IP Tunneling
(VS/TUN)
IP tunneling is a technique to encapsulate IP
datagrams with in IP datagrams, which allows
datagrams to be wrapped and redirected to
another IP address.
disadvantages
Advantages:
◦ Real servers send response packets to client directly,
which can follow different network routes
◦ Real servers can be in different networks, LAN/WAN
◦ Greatly increasing the scalability of Virtual Server
Disadvantages:
◦ Real server must support IP tunneling protocol
Virtual Server via Direct Routing
(VS/DR)
The load balancer and the real servers must have
one of their interfaces.
The virtual IP address is shared by real servers
and the load balancer.
In VS/DR, the load balancer directly routes a
packet to the selected server.
Receiving of forwarded packet by server it’s
address on interface and processes the request,
and finally returns the result directly to the user.
VS/DR architecture
VS-DR advantages and
disadvantages
Advantages:
◦ Real servers send response packets to clients directly,
which can follow different network routes
◦ No tunneling overhead
Disadvantages:
◦ Servers must have interface
◦ The load balancer and server must have one of their
interfaces in the same LAN segment
Conclusions
Queries?