Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for server load balancing

A load balancing and server technology, applied in the field of network applications, can solve problems affecting the system operation effect, unreasonable server load distribution, etc., and achieve the effect of server load balancing

Active Publication Date: 2018-01-30
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method and system for server load balancing, especially a method and system for server load balancing based on the MIDAS system, to solve the problem that the client of the MIDAS system in the prior art can only Fixed connection to the specified server may easily cause unreasonable server load distribution and affect the overall operation of the system.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for server load balancing
  • Method and system for server load balancing
  • Method and system for server load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Please refer to Figure 5 with Image 6 , Embodiment 1 of the present invention is:

[0085] At the beginning of operation, all clients can obtain the IP address of the application server they want to connect to by accessing the balancer. The application server sends heartbeat packets to the database at regular intervals, and the load balancer will evenly allocate the application servers that the client wants to connect to according to the heartbeat packet information.

[0086] First, create a new state information table in the database to record server information. When the application server is running, it obtains its own IP address and writes this information into the server state information table of the database 1 . And the application server will send the number of clients connected to itself to the server status information table at regular intervals.

[0087] Secondly, the balancer regularly obtains the server status information table of the database, perfor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method and system for server load balancing. The method includes: the server periodically sends a heartbeat packet to the database; the heartbeat packet includes the IP information of the server and the load information of the server; the database establishes a status information table , write the load information of the server into the corresponding position of the state information table according to the IP information of the server in the received heartbeat packet; the balancer periodically obtains the state information table, and performs statistics on the data information of the state information table Analyze, and store the statistical analysis results in the database; the client requests the IP address of the server from the balancer, and the balancer selects the corresponding IP address of the server according to the preset working mode and returns it to the client. It solves the problem that the client of the existing technology such as the MIDAS system can only connect to the designated server according to the preset settings, which may easily cause unreasonable server load distribution and affect the overall operation effect of the system.

Description

technical field [0001] The invention relates to the technical field of network applications, in particular to a method and system for balancing server loads. Background technique [0002] In the existing MIDAS system, the client connection to the application server is basically an active connection method, and the client must first set the address of the application server to be connected. Load balancing of application servers is achieved by allocating the application servers connected to each client at the beginning. Since the client connects to the server according to the set server address, it may cause the following problems: 1. Some clients are connected to a certain application server while other application servers are idle because the client is not running; 2. A certain application server is idle; When the application server crashes, the client connected to this server will not be able to operate normally; 3. When adding a client, you must first evaluate all current...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/803
Inventor 陈兴
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD