I. Server Load balancer Overview
LB: load balancing is implemented by software and hardware.
1. Software: generally located at the Layer 4 and Layer 7 of TCP/IP, typical of which are:
LVS (Layer 4, Transport Layer)
Haproxy, nginx (Layer 7, application layer)
2. Hardware: There are many hardware manufacturers and common
F5 BIG-IP excellent secure acceleration Access Solution
Citrix NetScaler provides a comprehensive solution to optimize web application delivery.
A10's A10 thunder unified application service gateway
Ii. LVS: Introduction to Linux virtual server (Key Points)
LVS is the contribution made by Chinese people to open source. The author is Zhang Wenyu. Official website address: http://zh.linuxvirtualserver.org/
LVS limits its features on the fourth layer. The routing exchange at the transport layer is based on the address and port. LVS can also forward requests based on the target address and port. LVS works on the input chain of iptables/netfiler. It works with iptables/netfiler and is similar to ipvsadm/ipvs. Ipvsadm is an LVS tool, which works with the kernel in ipvs.
LVS type:
LVS-NAT: Network Address Translation, Nat address translation
LVS-Dr: Direct routing, direct routing
LVS-tun: tunneling, tunnel-based Dr
LVS terminology:
Director/Real Server
IP:
VIP: virtual IP
Dip: Director IP multi-load scheduler IP
Rip: Real Server IP address Real Server IP Address
CIP: Client IP
Ipvs: IP Virtual Server
This article is from the Gentoo blog, please be sure to keep this source http://linuxgentoo.blog.51cto.com/7678232/1550623
Server Load balancer Overview