Dynamic timeout period adjustment of service requests
First Claim
1. A processor-implemented method, the method comprising:
- a series of steps to dynamically time out a first process within a plurality of suspended processes running on a server computer to maintain throughput at the server computer by;
determining, by a processor, that a second process running on the server computer is attempting to suspend;
determining whether a number of the plurality of suspended processes plus one is less than a threshold value, wherein the threshold value includes a variable based on a maximum concurrent processes value;
in response to the determining, if the number of the plurality of suspended processes plus one is not less than the threshold value, selecting the first process within the plurality of suspended processes to prematurely time out;
timing out the selected first process;
in response to the timing out the selected first process, incrementing the number of the plurality of suspended processes; and
suspending the second process.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one exemplary embodiment, a method for dynamically timing out a first process within a plurality of suspended processes is provided. The method may include determining that a second process is attempting to suspend. The method may also include determining if a number of suspended processes plus one is less than a threshold value. The method may then include selecting the first process within the plurality of suspended processes to prematurely time out based on determining that the number of suspended processes plus one is not less than the threshold value. The method may further include timing out the selected first process. The method may also include suspending the second process.
-
Citations
6 Claims
-
1. A processor-implemented method, the method comprising:
a series of steps to dynamically time out a first process within a plurality of suspended processes running on a server computer to maintain throughput at the server computer by; determining, by a processor, that a second process running on the server computer is attempting to suspend; determining whether a number of the plurality of suspended processes plus one is less than a threshold value, wherein the threshold value includes a variable based on a maximum concurrent processes value; in response to the determining, if the number of the plurality of suspended processes plus one is not less than the threshold value, selecting the first process within the plurality of suspended processes to prematurely time out; timing out the selected first process; in response to the timing out the selected first process, incrementing the number of the plurality of suspended processes; and suspending the second process. - View Dependent Claims (2, 3, 4, 5, 6)
Specification