can be achieved [2]. In reverse proxy mode, you can apply the optimized load balancing policy to access the idle internal server each time to provide services. However, as the number of concurrent connections increases, the load on the proxy server itself becomes very large, and the reverse proxy server itself becomes a service bottleneck.
In the address translation gateway that supports server
As a Linux/Unix system engineer, I have been involved in external projects over the past few years. I have worked on the architectures of many small and medium-sized websites. F5, LVS, and nginx have many contacts, I want to explain to you what Server Load balancer is and what is a Linux cluster in a simple and easy-to-understand tone, to help you get out of this
balancing
I. Load Balancing principles
System expansion can be divided into vertical (vertical) scaling and horizontal (horizontal) scaling. Vertical scaling improves the server processing capability from the perspective of a single machine by adding hardware processing capabilities, such as CPU processing capabilities, memory capacity, and disks, it cannot meet the needs of large distributed systems (webs
: This article mainly introduces (summary) the advantages and disadvantages of NginxLVSHAProxy server load balancer software. For more information about PHP tutorials, see. PS: Nginx/LVS/HAProxy is currently the most widely used three load balancing software. I have implemented these software in multiple projects. I have referenced some materials and combined som
PS: nginx/LVS/haproxy is currently the most widely used three load balancing software. I have implemented these software in multiple projects. I have referenced some materials and combined some of my experience in using it, to sum up.
Generally, Server Load balancer uses different technologies at different stages as the website scale increases. Specific Applica
balancing principle
DNS Load Balancing
HTTP load balancing
IP server load balancer
Link layer load balancing
Hybrid P-load balancing
I. Load Balancing principles
System expansion
At present, the global application of a wide range of load balancing equipment for the United States F5. F5 in China in the end of 2000, in the domestic industry, F5 load balancing products have become the mainstream load balancin
/*** Lihaibo* The content of the article is based on the practice of their own work.* If there is an error, please correct me* No reprint without the consent of the author*/Planning:
F5
Big Big-IP
Intranet
192.168.100.0
255.255.255.0
External network
10.50.20.0
255.255.255.0
Virtual Server
Vs_web
Node_pool
Pool
Nginx/lvs/haproxy Load Balancer software pros and consHttp://www.ha97.com/5646.htmlPs:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-
parameter to verify the validity of the cluster node.
To use this class, make sure that the catalina-cluster.jar (located in the % tomcat_home %/Server/library directory)
And the commons-logging-api.jar (located in the % tomcat_home %/bin directory) file is specified in classpath.
The architecture of the main components of the following cluster.
Figure 1 Tomcat cluster architecture
+ Install and configure Tomcat instances
Table 1. In this example, set the
normal! Proving not an application-level configuration exception problem! It's probably a problem with the network impact app!In view of the hardware failure when the machine, path changes, the application of SSL protocol interaction packet size anomalies, and prompted Previos fragment lead segment loss and other network problems, F5 personnel recommended to check the MTU settings, and then the customer ma
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-
The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-sized Web applications, such as the daily PV less than 10 million, with Nginx can be completely; if there are many machines, you can use DNS polling, LVS consumes more machines or more, large web sites or important services, and the server is relatively long, You c
The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-sized Web applications, such as the daily PV less than 10 million, with Nginx can be completely; if there are many machines, you can use DNS polling, LVS consumes more machines or more, large web sites or important services, and the server is relatively long, You c
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.
The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and mediu
Summary: For a large website, Server Load balancer is an eternal topic. With the rapid development of hardware technology, more and more Server Load balancer hardware devices are emerging, such as
Ningx acts as a Load balancer and is also a reverse proxy server. The configuration syntax is quite simple. It can be used to balance the backend servers by round robin, IP_hash, url_hash, weight, and other methods, it also supports backend server health check. In addition, it has advantages over LVS because it is based on Layer 7 Server Load
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.