Skynet firewall load-sharing technology
1. Load sharing - large service node solution
With large traffic and users of information services provider of the aim, but a large number of access will bring a heavy burden on the server, as well the Internet Yingyongfuwu the Yonghu increasing number of server load becomes victorious, can not pass handle a large number of customer service requests, there will be service interruptions. In the past in addressing these questions, but to use more computing power in the server to replace the original server, old server can only be eliminated out. Even so, a single server's load capacity is limited, not infinite expansion at the same time, high-end server with the server Xingneng price is exponentially increased, so more low-cost servers with load-sharing system models become increasingly mainstream.
2. The principle of load sharing system
Load sharing system is mainly concentrated in one server to the user service requests distributed to multiple servers. Load-sharing modalities in the early stages, many network design approach using rotation domain, that is, a domain name corresponds to multiple servers as a low-cost programs, domain rotation of the ways to solve some server load issues, but Because of this load-sharing mode has great limitations: Wufagenju each server's load, combining user service request is sent to a different server; in one of the servers have problems when unable to work, the system still will be user access request to a server failure, causing part of the service interruption; interpreted as domain name servers generally will have around Cache exist, thus giving the user access requests in a region will focus on the same server. So in fact, to do with the way the domain rotation system load sharing, the effect is not obvious.
3. Skynet firewall module load sharing system
Skynet distributed firewall program to use, you can build a fast response time and high fault tolerance of large-capacity server cluster. Skynet firewall load distribution module can be intelligently distributed to the user's service requests to multiple servers at the same time, provide fault tolerance, the server can automatically isolate problems. The detailed functions are as follows:
1) Dynamic load balancing
Skynet firewall load distribution module can load on the server, including the CPU occupancy, system Load, etc., automatically select the least loaded server, the user's service request is sent to the machine.
2) fault-tolerant
Skynet firewall load distribution module can automatically detect the availability of the server, when a server fails when the distributed system will automatically bypass machine failures, not the user's service request is sent to the machine, to ensure the normal operation of the system.
4. Skynet firewall load sharing module works
Skynet firewall load sharing module works mainly to the user's access to distribution according to some algorithm to multiple servers.
Skynet firewall can be used in many different ways to achieve load sharing. From the function can be divided into two categories:
1) Smart Class
Direct detection
By: Skynet firewall load sharing module sends service requests directly to the server data, depending on the server response time, the server will not respond to the question mark for the server, forwarding the request to establish customer service a priority.
Advantages: nothing to do with the server using the system, users can use any kind of server, the server.
Drawback: the data is not accurate, no way to completely load sharing.
Server Agent
By: Skynet firewall installed on the server side load testing agent software, real-time load share module to Skynet sent the firewall server load, including CPU occupancy, system Load, network traffic, etc., Skynet's integrated firewall according to server load index, forward the request to establish customer service a priority.
Advantages: can accurately transmit the user service requests to the real server free, guarantee quality of service.
Disadvantages: have to install different operating systems server load testing agent software, currently only Unix system load testing agent software.
2) a fixed category
A fixed order cycle or customer service immediately forward the request to the server above. Used in some special occasions, such as server-side service requests that do not correct does not respond or return data is not normal.
5. IIDR algorithm
In practice, there is often because the server-side CGI programs that will be the user's information stored in the server's memory, if the load-sharing system does not recognize the user source, it will be distributed with a user's request to a different server on, will result in fail to run the program. The Skynet firewall load the burden of modules unique IIDR (Smart ID) algorithm, can be guaranteed with a user's CGI request may remain in the same server, ensure the normal operation of the service.
6. Skynet firewall load sharing module
The construction of large-scale structure using distributed Internet applications that can accommodate a large number of users, however, the user capacity increases to a certain case, the load-sharing server location in the center of the entire network, service system may instead be the bottleneck. Skynet firewall load balancing module in the design of special hash algorithm used to ensure the system even in dealing with the huge amount of users (more than 30,000 simultaneous connections per user), the network efficiency can still reach 80%.