Patent ID: 7346693

Claim:
A server-load-balancing program which is executed by a computer and makes said computer perform a process for establishing a permanent connection between the computer and a server in advance, and requesting the server to execute a processing request received from a client, by using the permanent connection, said process comprises the steps of: (a) storing history information indicating conditions of use of at least one permanent connection in each of a plurality of first time intervals into which each of at least one preceding period is divided; (b) determining an optimum value of the number of at least one permanent connection to be established in each of a plurality of second time intervals into which a coming period is divided, based on said history information, where the plurality of second time intervals correspond to the plurality of first time intervals, respectively; and (c) establishing between said computer and said server said at least one permanent connection in each of said plurality of second time intervals in the coming period so that the number of the at least one permanent connection in each of the plurality of second time intervals is equal to said optimum value.