Today, about the server is generally concerned about the work, because many people use the network, so the server traffic is often the state of the load, which is not good for the work, so the wandering on the server is best to be scattered . The web application server cluster system is a cluster system consisting of a group of servers running the same web application at the same time. It seems to be a server in the outside world. In order to balance the load of the cluster server and optimize the performance of the system, the cluster server distributes many access requests to different nodes in the system for processing. This results in greater effectiveness and stability, which is a must-have feature for web-based enterprise applications.
First, the two methods of calculating the WEB server load
The web application server cluster system is a cluster system consisting of a group of servers running the same web application at the same time. It's like a server. In order to balance the load of the cluster server and optimize the performance of the system, the cluster server distributes many access requests to different nodes in the system for processing. This results in greater effectiveness and stability, which is a must-have feature for web-based enterprise applications.
High reliability can be seen as a redundant setting for the system. For a specific request, if the requested server can't process it, can other servers handle it effectively? For an efficient system, if one web server fails, other servers can replace it immediately. The location, the request is processed, and the process is as transparent as possible to the user, making the user undetectable!
Stability determines whether the application can support the growing The number of user requests, which is a capability of the application itself. Stability is an effective measure of the many factors that affect system performance, including the maximum number of simultaneous users accessing the system that the cluster system can support and the time it takes to process a request.
In the existing methods of balancing server load, the following two methods are widely studied and used:
DNS load balancing method RR-DNS (Round-Robin Domain Name System) )
Load Balancer
Below, we will discuss these two methods.
Second, the advantages and disadvantages of DNS rotation scheduling
The data file in the Domain Name Server maps the host name to its IP address. When you type a URL into your browser, the browser sends the request to the DNS asking it to return the IP address of the corresponding site. This is called a DNS query. When the browser obtains the IP address of the site, it connects to the site to be accessed through the IP address, and presents the page to the user.
A Domain Name Server (DNS) usually contains a single IP address with a list of the names of the sites to which the IP address is mapped. In our example of the above illusion, the mapped IP address of a certain site is 203.24.23.3.
In order to use the DNS to balance the load of the server, for the same site, there are several different IP addresses in the DNS server. These IP addresses represent different machines in the cluster and are logically mapped to the same site name. This can be better understood by our example. The site will be published to three machines in a cluster through the following three IP addresses:
The following is the reference:
203.34.23.3
203.34.23.4
203.34.23.5
In this example, the DNS server contains the following mapping table:
www.loadbalancedsite .com 203.34.23.3
www.loadbalancedsite.com 203.34.23.4
www.loadbalancedsite.com 203.34.23.5
Network has become an indispensable tool in our life, and users with notebooks often use wireless ne
We all know that when we delete something that is useless, those things will be in the recycle bin.
In the process of using the computer, we sometimes update the graphics driver to experience better r
It is inevitable that Foxit PDF reader will encounter some problems when it is used. For example, wh
How to turn off the sound of WeChat web version?
Balance web application server traffic How to do decentralized processing
Master tricks: computer automatic networking solutions
Notebook to increase the memory bar operation method
Every time you turn on the phone, you must press F1 to enter the system.
How to solve the u disk capacity 0 bytes when using the u disk?
In-depth analysis of the degree of hazard of the virus
Teach everyone to know the hosts file of Unix system
Remote control Windows 2003 installation of Pcanywhere causes Awgina.dll error to resolve
Windows physical memory, core memory, system
The powerful features of the recycle bin you don't know
WinXP keyboard and mouse button setting skills
Win10 system free upgrade to when Win10 charges in August
PowerShell fixes Win8 Metro necrotic application
What should I do if there are two U disk icons in the left navigation bar of the win10 computer?
How about win10 mobile phone preview version 10080 xbox?
Four methods and precautions for publishing Asp.Net website to IIS
Make a Win7/Win8.1 installation U disk, how to retain the original data?
CPU display and actual frequency do not meet the reasons and solutions