Detecting queue problems using messages entering and leaving a queue during a time period
First Claim
1. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon that, when executed by a computing device, perform a method of automatically detecting a malfunction affecting withdrawal of messages from a queue, the method comprising;
- receiving an incoming value that indicates how much data has entered the queue during a period of time, wherein the queue is associated with a messaging-middleware application;
receiving an outgoing value that indicates how much data has exited the queue during the period of time, wherein the period of time is an interval of time since the incoming value and outgoing value were set to zero;
storing the incoming value and the outgoing value in a data store, wherein the incoming value and the outgoing value are stored in association with information that identifies the queue;
calculating a queue-performance indicator using the incoming value and the outgoing value by dividing the outgoing value by the incoming value when neither the incoming value nor the outgoing value is zero;
determining that the malfunction affecting withdrawal of messages from the queue exists when the queue-performance indicator is outside of a normal-performance range, wherein the queue-performance indicator is outside of the normal-performance range when the queue-performance indicator is less than a normal performance threshold value; and
in response to said determining, generating an alarm event that indicates one or more components associated with the queue are malfunctioning.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and a computer-readable media for automatically detecting that a malfunction affecting message withdrawal from a queue is present is described. In one embodiment, the malfunction is detected by evaluating the number of messages that enter and leave a queue during a period of time. For example, if the messages entering the queue do not equal the messages leaving the queue a malfunction may be present. In one embodiment, queue-performance indicator is calculated based on the number of messages leaving and entering the queue. If the queue-performance indicator is outside of the normal-operating range an alarm is generated and sent to a designated responder who can fix malfunctions associated with the queue.
11 Citations
11 Claims
-
1. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon that, when executed by a computing device, perform a method of automatically detecting a malfunction affecting withdrawal of messages from a queue, the method comprising;
-
receiving an incoming value that indicates how much data has entered the queue during a period of time, wherein the queue is associated with a messaging-middleware application; receiving an outgoing value that indicates how much data has exited the queue during the period of time, wherein the period of time is an interval of time since the incoming value and outgoing value were set to zero; storing the incoming value and the outgoing value in a data store, wherein the incoming value and the outgoing value are stored in association with information that identifies the queue; calculating a queue-performance indicator using the incoming value and the outgoing value by dividing the outgoing value by the incoming value when neither the incoming value nor the outgoing value is zero; determining that the malfunction affecting withdrawal of messages from the queue exists when the queue-performance indicator is outside of a normal-performance range, wherein the queue-performance indicator is outside of the normal-performance range when the queue-performance indicator is less than a normal performance threshold value; and in response to said determining, generating an alarm event that indicates one or more components associated with the queue are malfunctioning. - View Dependent Claims (2, 3, 4)
-
-
5. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon that, when executed by a computing device, perform a method of automatically generating an alarm indicating that a malfunction affecting message withdrawal from a queue is present, the method comprising:
-
receiving a queue-performance indicator based on an incoming value indicating how many messages have entered the queue during a period of time and an outgoing value indicating how many messages have exited the queue during the period of time, wherein, when neither the outgoing value nor the incoming value is zero, the queue is associated with a messaging-middleware application, and wherein the queue-performance indicator is the outgoing value divided by the incoming value, and wherein the period of time is an interval of time since the incoming value and outgoing value were set to zero; receiving the incoming value and the outgoing value, wherein the incoming value and the outgoing value are generated by a messaging-middleware application; comparing the queue-performance indicator with a normal-performance range; and when the queue-performance indicator is outside the normal-performance range, transmitting an alarm message indicting that the malfunction affecting message withdrawal from the queue is present, wherein the queue-performance indicator is outside of the normal-performance range when the queue-performance indicator is below a threshold number. - View Dependent Claims (6)
-
-
7. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon that, when executed by a computing device, perform a method of automatically generating an alarm indicating that a malfunction affecting message withdrawal from a queue is present, the method comprising:
-
receiving an incoming value indicating how many messages have entered the queue during a period of time, wherein the queue is associated with a messaging-middleware application, and wherein the period of time is an interval of time since the incoming value and outgoing value were set to zero; receiving an outgoing value indicating how many messages have exited the queue during the period of time; generating a queue-performance indicator for the queue using the incoming value and the outgoing value by dividing the outgoing value by the incoming value when neither the incoming value nor the outgoing value is zero; storing the incoming value, the outgoing value, and the queue-performance indicator all in association with the queue in a data store; determining whether the queue-performance indicator is outside of a normal-performance range, wherein the queue-performance indicator is outside of the normal-performance range when the queue-performance indicator is less than a normal performance threshold value; and when the queue-performance indicator is outside of the normal-performance range, generating the alarm indicating that the malfunction affecting message withdrawal from the queue is present. - View Dependent Claims (8, 9, 10, 11)
-
Specification