On Network Load Balancing under lamp environment

Source: Internet
Author: User

Load Balancing has two aspects:

1. Load balancing based on network hardware equipment

Foreign more well-known is Cisco's switch, Cisco Ethernet Channel technology, F5 load balancer, domestic Huawei's V9, etc.

Most of the load balancing based on network equipment adopts the request-round mechanism, that is, the client's request is diverted to the different cluster servers to achieve the function of balancing the responsibility.

The mechanism for the browser-side request is relatively fast, but the corresponding price is not expensive, the specific price of their own ah, said here do not know whether the request of the network should be said to meet the requirements of the structure to cooperate with understanding, my understanding is this, the browser issued a Requeat (that is, a socket we usually say, except that it is not continuous) requests include the request address and the return address, and the request address is the network address of the load-balanced physical hardware before our clustered server, and the role of the load balancer is to allocate these requests to all the hosts on the server cluster, so that they are responsible for processing these requests and giving them, and the process of allocating requests is generally the kind of round-robin request pictured above, and of course there is an address translation technology that becomes NAT technology (also called Do network address translation technology is to request the address from the routing address to the cluster server in the IP address of a server, when the server processing and then send back the results to F5, F5 the processing address changed to their own, and then sent back to the browser end

2. Operating system-based load balancing

are divided into two categories:

a). NLB (Microsoft Proprietary) in the Windows Server version

1. Unicast

This mode is enabled by default and is summarized later.

2. Multicast

Summary put in later;

b). LVs in Linux (LVs can also be used for Windows Server servers)

1.Lvs NAT Mode (address translation technology). Similar to F5 address translation technology, but this relies on the Server software implementation, network isolation, network security will also be greatly improved, sometimes the company even if not so high access to do so will bring more strong security;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.