Backoff job queue polling mechanism
First Claim
1. A method, comprising:
- performing, by a computer;
setting a polling interval to a minimum polling interval, wherein the polling interval represents an amount of time between repeated polls of a job step queue;
wherein in response to being polled the job step queue is configured to indicate one or more job steps scheduled to execute currently;
repeatedly polling the job step queue at the polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until a number of job steps scheduled to execute currently is below a minimum job step threshold, wherein said repeatedly polling the job step queue at the polling interval comprises determining that the job step queue has been polled at the minimum polling interval more often than a predetermined maximum threshold and increasing the polling interval for at least one polling cycle;
while the number of job steps scheduled to execute currently is below the minimum job step threshold;
repeatedly increasing the polling interval; and
polling the job step queue at each increased polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until the number of job steps scheduled to execute currently is above the minimum job step threshold; and
in response to the number of job steps scheduled to execute currently being above the minimum job step threshold, decreasing the polling interval to the minimum polling interval.
0 Assignments
0 Petitions
Accused Products
Abstract
A backoff polling algorithm may use a minimum polling interval which represents an amount of time between repeated polls of a job step queue. When polled, the job step queue may indicate a number of job steps scheduled to execute currently. Additionally, the backoff polling algorithm may repeatedly poll the job step queue at the current polling interval and execute any job steps indicated until the step queue indicates that the number of job steps scheduled to execute currently is below a minimum threshold. While the indicated number of job steps is below the minimum threshold, the backoff polling algorithm may repeatedly increase the polling interval up to a predetermined maximum polling interval and poll at each increased interval until the indicated number of job steps is above the minimum threshold. The backoff polling algorithm may then decrease the polling interval to the minimum polling interval.
-
Citations
20 Claims
-
1. A method, comprising:
performing, by a computer; setting a polling interval to a minimum polling interval, wherein the polling interval represents an amount of time between repeated polls of a job step queue;
wherein in response to being polled the job step queue is configured to indicate one or more job steps scheduled to execute currently;repeatedly polling the job step queue at the polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until a number of job steps scheduled to execute currently is below a minimum job step threshold, wherein said repeatedly polling the job step queue at the polling interval comprises determining that the job step queue has been polled at the minimum polling interval more often than a predetermined maximum threshold and increasing the polling interval for at least one polling cycle; while the number of job steps scheduled to execute currently is below the minimum job step threshold; repeatedly increasing the polling interval; and polling the job step queue at each increased polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until the number of job steps scheduled to execute currently is above the minimum job step threshold; and in response to the number of job steps scheduled to execute currently being above the minimum job step threshold, decreasing the polling interval to the minimum polling interval. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A non-transitory, computer-readable storage medium storing program instructions that when executed on one or more computers cause the one or more computers to perform:
-
setting a polling interval to a minimum polling interval, wherein the polling interval represents an amount of time between repeated polls of a job step queue;
wherein in response to being polled the job step queue is configured to indicate one or more job steps scheduled to execute currently;repeatedly polling the job step queue at the polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until a number of job steps scheduled to execute currently is below a minimum job step threshold, wherein said repeatedly polling the job step queue at the polling interval comprises determining that the job step queue has been polled at the minimum polling interval more often than a predetermined maximum threshold, and increasing the polling interval for at least one polling cycle; repeatedly increasing the polling interval and polling the job step queue at each increased polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until the number of job steps scheduled to execute currently is above the minimum job step threshold; and decreasing the polling interval to the minimum polling interval. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
one or more processors; memory coupled to the one or more processors, wherein the memory stores program instructions that when executable on the one or more processors cause the one or more processors to perform; setting a polling interval to an initial interval, wherein the polling interval represents an amount of time between repeated polls of a job step queue;
wherein in response to being polled the job step queue is configured to indicate one or more job steps scheduled to execute currently;repeatedly increasing the polling interval and polling the job step queue at each increased polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently until a number of job steps scheduled to execute currently is above a minimum job step threshold; in response to the number of job steps scheduled to execute currently being above the minimum job step threshold, decreasing the polling interval to a minimum polling interval; and repeatedly polling the job step queue at the polling interval and executing any job steps indicated by the job step queue as scheduled to execute currently, wherein said polling the job step queue at the polling interval comprises determining that the job step queue has been polled at the minimum polling interval more often than a predetermined maximum threshold and increasing the polling interval for at least one polling cycle. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification