摘要 |
A load balancing method for a cluster system is presented. A load record is firstly established in each server, and the load record has an access connection number of each server. An access channel is then established, and one of the servers is specified as a first server. The first server determines whether the first server specified by the access channel needs to be changed according to the load records. When it is determined that the first server needs to be changed, another server is specified as a second server according to a configuration strategy. The first server sends a reply signal to a user terminal, and the user terminal establishes an access connection with the second server according to the reply signal. Finally, the load records of all the servers are synchronously updated so that all the servers in the cluster system know load conditions of other servers.
|