For a large web site, load Balancing is an eternal topic. With the rapid development of hardware technology, more and more load balancing hardware devices emerge, such as F5 big-IP, Citrix NetScaler, Radware and so on, although can solve the problem, but its high price is often prohibitive, So
I. Common architecture diagram of LVS cluster650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7F/65/wKioL1cdqYuR1FM-AABfNtjHVlQ038.jpg "title=" 111111111.jpg "alt=" Wkiol1cdqyur1fm-aabfntjhvlq038.jpg "/>Load Balancer Layer: Located at the forefront of the entire cluster system, consisting of one or more load schedulers (Director Server). The LVS core template Ipvs is installed on the director serv
OverviewIn our previous Windows platform distributed architecture practice-load balancing, we discussed the load balancing of Web sites through NLB (Network load Balancer) under the Windows platform and demonstrated its effectiveness through stress testing, which can be said
ineffective. It only supports port detection and does not support url detection.Nginx does not support big request headers very well. If the client_header_buffer_size setting is small, the bad request page will be returned.Advantages of Haproxy:Its advantages complement the disadvantages of nginx. Supports session persistence and obtains the specified url to check the status of the backend server.Supports load ba
Load balancing is an eternal topic for a large web site. With the rapid development of hardware technology, more and more load balancing hardware devices emerge, such as F5 Big-ip, Citrix netscaler, Radware, etc., although it can solve the problem, but its high price is often prohibitive, So
It is best to divide the routing load balancing network segments. This will not disrupt the routing behavior at the network layer, because the host or router forwards each packet through the "Route" found in the route table, unless the load balancing of the route table is ac
(This article applies to TL-ER6120 V1.0, TL-ER5120 V1.0, TL-ER5520G V1.0, TL-R483 V3.0, TL-R478 + V5.0, TL-WVR300 V1.0)Multi-WAN port routers can serve as load balancing and line backup, and can expand bandwidth to improve network performance. More and more Internet cafes and enterprises choose multi-WAN port routers a
replaced by the backup switch. The vrrp virtual gateway address is configured on the terminal in the network. When a fault occurs, the virtual switch remains unchanged and the host remains connected. The network will not be affected by single point of failure, in this way, the core switch switching problem in the network is well solved.
4 vrrp for Server Load balancer
In vrrp, A vro is allowed to join multiple backup groups, and
"SERVER Load balancer" and "cluster" solutions.
With the emergence of database router software ICX, it provides a better cluster solution for database systems based on ms SQL Server. It can truly achieve dynamic load balancing of SQL Server database servers to improve performance and speed; it can truly ensure uninter
differences between nodes; if a balance is made on the WAN, the response time is of practical significance for the user to select the server nearby. In addition, the more scattered the cluster topology, the more effective the method can be. This method is the main method used for advanced Balancing Based on topology redirection.
3.6 encryption Law
Weighted methods can only be used with other methods, which
seven switches also analyze application layer information, such as HTTP protocol URI or Cookie information. Example: haproxy,MySQL Proxy. Four, differentiate between four-layer and seven-layer load Balancing The so-called four-layer load balancing, that is, mainly through the message of the destination address and
cactiAdvantages of LVS:Good performance, close to hardware equipment network throughput and connection load capacity.LVS's Dr mode, which supports load balancing over a WAN. None of this other load balancing software is currently
How to achieve the load balance of non-equivalent routing in EIGRP
EIGRP Load Balancing
Each routing protocol supports load balancing of equivalent paths. In addition, IGRP and EIGRP also support load
). Because the network environment has been configured to have only Director responded to ARP broadcasts, the MAC address of the request packet will be changed to the MAC address of the RealServer. That is to say, redireimplements link layer spoofing to replace the target MAC address of the frame data with the MAC address of a RealServer determined based on the load balancing policy.
3. RealServer response
transparent to the architecture, and the end user only senses a virtual server. Physical servers can be connected across a high-speed LAN or across a WAN. The most front-end is the load balancer, which distributes the various service requests to the subsequent physical servers, making the entire cluster behave like a virtual server serving the same IP addressThe LVS cluster system has good scalability and
systems. Haproxy is very useful for web systems that are extremely large and require persistent connectivity or four-and seven-layer processing, such as e-commerce , and haproxy can also be used in MySQL Load balancing of databases (read operations)2. Difference between four-and seven-layer load balancingA four-tier load
Heartbeat (nanny) of the process service between the Real Server)
* IPVS function (lvsd)
* Ipvsadm)
2. principles and structure of the Piranha solution:
The Piranha solution is a set of load balancing high availability solutions based on LVS.
LVS runs on a computer with similar configurations:
One is Active LVS Router and the other is Backup LVS
, the fastest response algorithm does not work very well, because the ICMP packets in the LAN are basically in the 10ms response, not the difference between the nodes; assuming a balance on the WAN, The response time is still of practical significance for the user to select the server at the nearest, and the more dispersed the cluster topology, the more effective the method will be.Such a method is the primary method of advanced
In order to improve the export bandwidth, many enterprises have applied for broadband multi-line access. However, in actual use, not to apply for more than one line, you can immediately realize the superposition of bandwidth and load balancing. Multi-line bandwidth overlay and line equalization, but also need technical means to implement. In short, multi-line load
ancient topic has stereotyped, in writing this article also sees the news, in recently held the 13th session network system design and realizes the USENIX Seminar, the engineer from Google also shared its self-developed Maglev load balancer. Just under the paper has not looked, looked back to write.Reference[1] HAProxy documentation. HAProxy Management Guide[2] HAProxy documentation. HAProxy Starter Guide[3] Willy Tarreau. Making applications scalabl
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.