Polling parameter adjustment
First Claim
1. A method for adjusting polling parameters, comprising:
- receiving, by one or more processors, at least an initial polling quantity and an initial polling frequency;
polling, by one or more processors, an endpoint application using the initial polling quantity and the initial polling frequency;
determining, by one or more processors, a first number of events not consumed in a queue of a listening application and a second number of events generated at the endpoint application and remaining in a queue at the endpoint application;
comparing, by one or more processors, the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application at the end of a polling cycle; and
adjusting, by one or more processors, at least one of the initial polling quantity and the initial polling frequency based, at least in part, on the comparison of the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach, executed by a computer, includes receiving at least an initial polling quantity and an initial polling frequency and polling an endpoint application using the initial polling quantity and the initial polling frequency. The approach includes determining a first number of events not consumed in a queue of a listening application and a second number of events generated at the endpoint application and remaining in a queue at the endpoint application and comparing the number of events in each queue. The approach includes adjusting at least one of the initial polling quantity and the initial polling frequency based, at least in part, on the comparison of the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application.
6 Citations
20 Claims
-
1. A method for adjusting polling parameters, comprising:
-
receiving, by one or more processors, at least an initial polling quantity and an initial polling frequency; polling, by one or more processors, an endpoint application using the initial polling quantity and the initial polling frequency; determining, by one or more processors, a first number of events not consumed in a queue of a listening application and a second number of events generated at the endpoint application and remaining in a queue at the endpoint application; comparing, by one or more processors, the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application at the end of a polling cycle; and adjusting, by one or more processors, at least one of the initial polling quantity and the initial polling frequency based, at least in part, on the comparison of the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product for adjusting polling parameters, comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions executable by a processor, the program instructions comprising instructions for; receiving at least an initial polling quantity and an initial polling frequency; polling an endpoint application using the initial polling quantity and the initial polling frequency; determining a first number of events not consumed in a queue of a listening application and a second number of events generated at the endpoint application and remaining in a queue at the endpoint application; comparing the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application at the end of a polling cycle; and adjusting at least one of the initial polling quantity and the initial polling frequency based, at least in part, on the comparison of the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A computer system comprising:
-
one or more computer processors; one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising instructions to perform a method comprising; receiving at least an initial polling quantity and an initial polling frequency; polling an endpoint application using the initial polling quantity and the initial polling frequency; determining a first number of events not consumed in a queue of a listening application and a second number of events generated at the endpoint application and remaining in a queue at the endpoint application; comparing the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application at the end of the polling cycle; and adjusting at least one of the initial polling quantity and the initial polling frequency based, at least in part, on the comparison of the first number of events not consumed in the queue of the listening application and the second number of events generated at the endpoint application and remaining in the queue at the endpoint application. - View Dependent Claims (19, 20)
-
Specification