Load control device and method thereof for controlling requests sent to a server
First Claim
1. A load control device, provided between one or more clients and a server, for sending a request, received from one of said clients, to said server and for sending a response, returned from said server in response to the request, to said client, said load control device comprising:
- a processing device to cause a limiting portion to limit the number of response-waiting requests which are already sent to said server but to which responses are not yet returned from said server,the limiting portion comprising;
a buffer;
a request receiving portion that receives a request from said client, and stores the received request in said buffer;
a request sending portion that gets one request from said buffer if the number of response-waiting requests is smaller than a threshold, increments the number of response-waiting requests by one, and sends the one request to said server;
a response receiving portion that receives a response from said server; and
a response sending portion that sends the received response to said client, and decrements the number of response-waiting requests by one;
a monitoring portion that monitors an execution status of said server;
a measuring portion that measures a throughput for each threshold of the number of response-waiting requests based on a monitor result of said monitoring portion, said throughput being the number of requests processed by said server per unit time; and
a threshold increasing and decreasing portion that increases the threshold if a throughput for a current threshold is higher than throughput for a threshold lower than the current threshold and decreases the threshold if a throughput for the current threshold is lower than a throughput for a threshold lower than the current threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
The number of response-waiting requests which are already sent to a server (4) but to which a response is not yet returned from the server (4) is limited. To limit this number, received requests are temporarily accumulated in a buffer if the number of response-waiting requests has reached a threshold and, until the number of response-waiting requests falls below the threshold, requests are not sent from the buffer. The execution status of the server (4) is monitored, and the threshold is increased when the response time from the server (4) to a request is within an allowable range, and the threshold is decreased when the response time exceeds the allowable range. In addition, TCP connections between a load control device (3) and clients (1-1, . . . , 1-n) are aggregated so that the number of simultaneous connections of TCP connections between the server (4) and the load control device (3) becomes equal to or smaller than the threshold of the number of response-waiting requests.
29 Citations
20 Claims
-
1. A load control device, provided between one or more clients and a server, for sending a request, received from one of said clients, to said server and for sending a response, returned from said server in response to the request, to said client, said load control device comprising:
-
a processing device to cause a limiting portion to limit the number of response-waiting requests which are already sent to said server but to which responses are not yet returned from said server, the limiting portion comprising; a buffer; a request receiving portion that receives a request from said client, and stores the received request in said buffer; a request sending portion that gets one request from said buffer if the number of response-waiting requests is smaller than a threshold, increments the number of response-waiting requests by one, and sends the one request to said server; a response receiving portion that receives a response from said server; and a response sending portion that sends the received response to said client, and decrements the number of response-waiting requests by one; a monitoring portion that monitors an execution status of said server; a measuring portion that measures a throughput for each threshold of the number of response-waiting requests based on a monitor result of said monitoring portion, said throughput being the number of requests processed by said server per unit time; and a threshold increasing and decreasing portion that increases the threshold if a throughput for a current threshold is higher than throughput for a threshold lower than the current threshold and decreases the threshold if a throughput for the current threshold is lower than a throughput for a threshold lower than the current threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A load control method for execution by a load control device, provided between one or more clients and a server, for sending a request, received from one of said clients, to said server and for sending a response, returned from said server in response to the request, to said client, said load control method comprising:
-
limiting the number of response-waiting requests which are already sent to said server but to which responses are not yet returned from said server, wherein the limiting comprises; receiving a request from said client; storing the received request in a buffer; getting one request from said buffer if the number of response-waiting requests is smaller than a threshold, and incrementing the number of response-waiting requests by one; sending the one request to said server; receiving a response from said server; sending the received response to said client and decrementing the number of response-waiting requests by one; monitoring an execution status of said server; measuring throughput for each threshold of the number of response-waiting requests based on a monitor result of said monitoring, said throughput being the number of requests processed by said server per unit time; and increasing the threshold if a throughput for a current threshold is higher than a throughput for a threshold lower than the current threshold and decreasing the threshold if a throughput for the current threshold is lower than a throughput for a threshold lower than the current threshold. - View Dependent Claims (17, 18)
-
-
19. A load control device, provided between clients and a server, for sending a request, received from one of said clients, to said server and for sending a response, returned from said server in response to the request, to said client, said load control device comprising:
-
a processing device to cause a limiting portion to limit the number of response-waiting requests which are already sent to said server but to which responses are not yet returned from said server, the limiting portion comprising; a buffer in which requests received by the load control device are temporarily accumulated if the number of response-waiting requests has reached a threshold; and a transmitting portion that does not send a request from said buffer until the number of response-waiting requests falls below the threshold; a monitoring portion that monitors an execution status of said server; a measuring portion that measures a throughput for each threshold of the number of response-waiting requests based on a monitor result of said monitoring portion, said throughput being the number of requests processed by said server per unit time; a threshold increasing and decreasing portion that increases the threshold if a throughput for a current threshold is higher than a throughput for a threshold lower than the current threshold and decreases the threshold if a throughput for the current threshold is lower than a throughput for a threshold lower than the current threshold; and a determining portion that determines whether or not the number of response-waiting requests has reached the threshold, and if the number of response-waiting requests has reached the threshold, determines whether or not the threshold is to be increased or decreased.
-
-
20. A load control method for execution by a load control device, provided between clients and a server, for sending a request, received from one of said clients, to said server and for sending a response, returned from said server in response to the request, to said clients, said load control method comprising:
-
a limiting step of limiting the number of response-waiting requests which are already sent to said server but to which responses are not yet returned from said server, wherein the limiting step comprises; a step of temporarily accumulating requests received the load control device in a buffer if the number of response-waiting requests has reached a threshold; and a step of not sending a request from said buffer to said server until the number of response-waiting requests falls below the threshold; a monitoring step of monitoring an execution status of said server; a step of measuring throughput for each threshold of the number of response-waiting requests based on a monitor result of said monitoring step, said throughput being the number of requests processed by said server per unit time; a step of increasing the threshold if a throughput for a current threshold is higher than a throughput for a threshold lower than the current threshold and decreasing the threshold if a throughput for the current threshold is lower than a throughput for a threshold lower than the current threshold; a step of determining whether or not the number of response-waiting requests has reached the threshold; and a step of determining whether or not the threshold is to be increased or decreased if the number of response-waiting requests has reached the threshold.
-
Specification