Autonomic adjustment of connection keep-alives
First Claim
1. A computer-implemented method for a server application to manage connection keep-alives, the method comprising the steps of:
- (A) enabling a keep-alive mechanism that keeps a connection to a client open according to a defined keep-alive specification;
(B) monitoring number of clients and average number of requests per client for the server application;
(C) automatically enabling the keep alive mechanism when the number of clients is in excess of a first predetermined threshold;
(D) automatically enabling the keep alive mechanism when the number of requests per client is in excess of a second predetermined threshold;
(E) automatically disabling the keep alive mechanism when the number of clients is below the first predetermined threshold and the average number of requests per client is below the second predetermined threshold;
(F) setting the keep-alive specification to a minimal value when the number of clients is above the first predetermined threshold and the average number of requests per client is below the second predetermined threshold;
(G) setting the keep-alive specification to a maximum value when the number of clients is below the first predetermined threshold and the average number of requests per client is above the second predetermined threshold; and
(H) setting the keep-alive specification to a midrange value between the minimal value and the maximum value when the number of clients is above the first predetermined threshold and the average number of requests per client is above the second predetermined threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A server computer system includes a keep-alive autonomic adjustment mechanism that monitors current operating conditions and dynamically adjusts the keep-alive specification to optimize the keep-alives for the current operating conditions. The keep-alive autonomic adjustment mechanism monitors the total number of clients, and the average number of requests per client. The value of a keep-alive specification that determines how log to keep a connection open may be dynamically and autonomically adjusted by the keep-alive autonomic adjustment mechanism according to the monitored current operating conditions. The keep-alive autonomic adjustment mechanism may also include the ability to autonomically enable and disable the keep-alives. In this manner the performance of the server may be tuned to optimize the effect of using keep-alives according to current operating conditions.
-
Citations
1 Claim
-
1. A computer-implemented method for a server application to manage connection keep-alives, the method comprising the steps of:
-
(A) enabling a keep-alive mechanism that keeps a connection to a client open according to a defined keep-alive specification; (B) monitoring number of clients and average number of requests per client for the server application; (C) automatically enabling the keep alive mechanism when the number of clients is in excess of a first predetermined threshold; (D) automatically enabling the keep alive mechanism when the number of requests per client is in excess of a second predetermined threshold; (E) automatically disabling the keep alive mechanism when the number of clients is below the first predetermined threshold and the average number of requests per client is below the second predetermined threshold; (F) setting the keep-alive specification to a minimal value when the number of clients is above the first predetermined threshold and the average number of requests per client is below the second predetermined threshold; (G) setting the keep-alive specification to a maximum value when the number of clients is below the first predetermined threshold and the average number of requests per client is above the second predetermined threshold; and (H) setting the keep-alive specification to a midrange value between the minimal value and the maximum value when the number of clients is above the first predetermined threshold and the average number of requests per client is above the second predetermined threshold.
-
Specification