Currently using a hardware load balancer as an Exchange deployment scenario, using a hardware load balancer a good advantage is that the load of the application can be distributed more
from:http://yuhongchun.blog.51cto.com/1604432/697466
Now the trend of Web site development on the use of Network Load balancing with the increase of site size according to different stages to use different technologies:One is the hardware to carry out, the common hardware has more expensive NetScaler, F5, Radware and array and other commercial
the performance bottleneck of the firewall as a site, multiple firewalls are used to achieve load balancing, as shown in the following figure (for details, we will discuss it later ):
Next, let's take a look at some Server Load balancer products.
Load Balancing products can basically be divided into three
server load balancing. Before introducing Server Load balancer, let's take a look at the process of obtaining a page request and response from the web server.
1Entry to exchange technology
Now we will briefly introduce the working principles of layer-2 and layer-3 switching to provide the necessary basic knowledge for understanding the concept of Server
Haproxy configuration for Server Load balancer and haproxy configuration for Server Load balancerCommon Open-Source Software load balancers include Nginx, LVS, and Haproxy. Comparison of three major software load balancers (LVS Nginx VS Haproxy)
I. LVS:1. Strong
Nginx Server Load balancer transmits the parameter method to the backend (the backend is also an nginx server), and nginx Server Load balancer
A website uses nginx for load balancing and multiple nginx servers at the backend.
Encountered a problem, when it is used as SSL sup
Article Title: Server Load balancer technology is used to build a high-load network site. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open-source, and other basic categories. The rapid growth of Internet makes multimedia network servers, especially Web servers
requirements. The following describes the device objects used by Server Load balancer and the network layers of applications (refer to the OSI reference model) and the geographical structure of the application.Software/hardware Load Balancing
A software Load Balancing solut
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
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
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
E-commerce Web site technology architecture with over 1 million visits
The first introduction to E-commerce Web site high-performance, highly available solutions. From the frame composition of the scheme, the application is lvs+keepalived load balance. Achieve high-performance, highly available solutions (server clusters, load Balancing, high-performance, highly available, highly scalable server cluster)
: 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
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
Today, the ' large server ' model has been replaced by a large number of small servers, using a variety of load balancing techniques. This is a more feasible approach that minimizes the cost of hardware.
The advantages of ' more small servers ' outweigh the past ' large server ' patterns in two ways:
1. If the server goes down, the load balancing system will stop
access external networks, when a computer in an external network accesses an external address owned by the address translation gateway, the address translation gateway can forward it to a mapped internal address. Therefore, if the address translation gateway can evenly convert each connection to a different internal server address, then the computers in the external network will communicate with the server on the address they have obtained, this achieves lo
. If you have enough funds, you can use up to 100,001 hardware devices. If you already have a technical team, use nginx/haproxy + keepalived to build your own front-end. Balanced methods are flexible, with random, weight, ip, and url options.4. Synchronization depends on what to synchronize. Common files can be synchronized in real time. However, if the database is used, you must select the synchronization mode for the specific type.5. the backend app
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 misunderstanding and understand them in the
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 F5 big-IP, Citrix NetScaler, and
wonder why it needs data segmentation. A mature and stable database like Oracle is enough to support the storage and querying of massive amounts of data? Why do we need data slicing? Indeed, Oracle's db is really mature and stable, but the high cost of use and high-end hardware support is not a business that every company can afford. Imagine a year of tens of millions of of the cost of use and tens of millions of dollars of minicomputer as a
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.