System and method of calculating and reporting of messages expiring from a queue
First Claim
1. A system for monitoring message queue data, comprising:
- a message queue data monitoring system comprising a message counter component stored on a non-transitory memory of a server and executed by a processor, wherein the message queue data monitoring system;
detects, by receiving a signal from the server, an outflow of messages out of a message queue or through a queue manager of the message queue, wherein the outflow of messages comprises an outflow of expired messages and an outflow of received messages,differentiates the outflow of expired messages from the outflow of received messages, wherein the expired messages comprise messages purged from the server before being responded to by a processor and the received messages comprise messages responded to by a processor,collects message queue data by counting a quantity of expired messages in the outflow of expired messages and by counting a quantity of received messages in the outflow of received messages,calculates at least one message counting metric of a plurality of message counting metrics based on at least the message queue data collected over a period of time, wherein the calculated message counting metric comprises a ratio of the quantity of expired messages in the outflow per the quantity of received messages in the outflow,determines that the calculated message counting metric exceeds a threshold ratio of expired messages per received messages over the period of time, andin response to the determination that the calculated message counting metric exceeds the threshold, executes a message queue data corrective procedure that includes;
requesting, by the message queue data monitoring system, expiration times of messages sent from each client,determining, by the message queue data monitoring system, which one or more clients are responsible for causing the calculated message counting metric to exceed the threshold based on the expiration times, andsending, by the message queue data monitoring system, a message to the one or more clients requesting the one or more clients to increase the expiration times of messages sent from the one or more clients, wherein increasing the expiration times of the messages from the one or more clients enables the messages from the one or more clients to be stored in the message queue for processing for a longer amount of time before being purged.
6 Assignments
0 Petitions
Accused Products
Abstract
A system is provided for monitoring message queue data. The system includes a computer readable storage medium comprising a message counter component stored as a set of computer instructions executable by a processor. The counter component detects the outflow of messages comprising at least expired messages and at least received messages out of a message queue. The counter component differentiates the outflow of expired messages from the outflow of received messages. The counter component collects message queue data, wherein collecting the message queue data comprises at least counting the outflow quantity of expired messages or at least counting the outflow quantity of received messages. The counter component calculates at least one of a plurality of message counting metrics based on at least the message queue data collected over a period of time. The counter component transmits at least one of the message counting metrics to a message interface.
23 Citations
18 Claims
-
1. A system for monitoring message queue data, comprising:
a message queue data monitoring system comprising a message counter component stored on a non-transitory memory of a server and executed by a processor, wherein the message queue data monitoring system; detects, by receiving a signal from the server, an outflow of messages out of a message queue or through a queue manager of the message queue, wherein the outflow of messages comprises an outflow of expired messages and an outflow of received messages, differentiates the outflow of expired messages from the outflow of received messages, wherein the expired messages comprise messages purged from the server before being responded to by a processor and the received messages comprise messages responded to by a processor, collects message queue data by counting a quantity of expired messages in the outflow of expired messages and by counting a quantity of received messages in the outflow of received messages, calculates at least one message counting metric of a plurality of message counting metrics based on at least the message queue data collected over a period of time, wherein the calculated message counting metric comprises a ratio of the quantity of expired messages in the outflow per the quantity of received messages in the outflow, determines that the calculated message counting metric exceeds a threshold ratio of expired messages per received messages over the period of time, and in response to the determination that the calculated message counting metric exceeds the threshold, executes a message queue data corrective procedure that includes; requesting, by the message queue data monitoring system, expiration times of messages sent from each client, determining, by the message queue data monitoring system, which one or more clients are responsible for causing the calculated message counting metric to exceed the threshold based on the expiration times, and sending, by the message queue data monitoring system, a message to the one or more clients requesting the one or more clients to increase the expiration times of messages sent from the one or more clients, wherein increasing the expiration times of the messages from the one or more clients enables the messages from the one or more clients to be stored in the message queue for processing for a longer amount of time before being purged. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A system for monitoring message queue data, comprising:
a message queue data monitoring system comprising a message counter component stored on a non-transitory memory of a server and executed by a processor, wherein the message queue data monitoring system; detects, based on a signal received from the server, an outflow of messages out of a message queue or through a queue manager of the message queue, wherein the outflow of messages comprises an outflow of expired messages and an outflow of received messages, differentiates the outflow of expired messages from the outflow of received messages, wherein the expired messages comprise messages purged from the server before being responded to by a processor and the received messages comprise messages responded to by a processor, collects message queue data by counting a quantity of expired messages in the outflow of expired messages and by counting a quantity of received messages in the outflow of received messages, calculates at least one message counting metric of a plurality of message counting metrics based on at least the message queue data collected over a period of time, wherein the calculated message counting metric comprises a ratio of the quantity of expired messages in the outflow per the quantity of received messages in the outflow, detects at least one message counting metric interest scenario of a plurality of message counting metric scenarios based on the calculation of the message counting metric, wherein the message counting metric interest scenario comprises the calculated message counting metric exceeding a threshold ratio of expired messages per received messages over the period of time, and based on the detection of the message counting metric interest scenario, executes at least one message queue data corrective procedure of a plurality of message queue data corrective procedures, the message queue data corrective procedure including; requesting, by the message queue data monitoring system, expiration times of messages sent from each client, determining, by the message queue data monitoring system, which one or more clients are responsible for causing the calculated message counting metric to exceed the threshold based on the expiration times, and sending, by the message queue data monitoring system, a message to the one or more clients requesting the one or more clients to increase the expiration times of messages sent from the one or more clients, wherein increasing the expiration times of the messages from the one or more clients enables the messages from the one or more clients to be stored in the message queue for processing for a longer amount of time before being purged. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
17. A computer implemented method for monitoring message queue data, comprising:
-
detecting, by a message queue data monitoring system that comprises a message counter component stored in a non-transitory memory and executable by a processor, via receiving a signal from a server, an outflow of messages out of a message queue or through a queue manager for the message queue, wherein the outflow of messages comprises an outflow of expired messages and an outflow of received messages; differentiating, by the message queue data monitoring system, the outflow of expired messages from the outflow of received messages; collecting, by the message queue data monitoring system, message queue data by counting a quantity of expired messages of the outflow of expired messages and by counting a quantity of received messages of the outflow of received messages; calculating, by the message queue data monitoring system, at least one message counting metric of a plurality of message counting metrics based on at least the message queue data collected over a period of time, wherein the calculated message counting metric comprises a ratio of the quantity of expired messages in the outflow per the quantity of received messages in the outflow; detecting, by the message queue data monitoring system, at least one message counting metric interest scenario based on the calculation of the calculated message counting metric, wherein the message counting metric interest scenario comprises the calculated message counting metric exceeding a threshold ratio of expired messages per received messages over the period of time; and based on the detection of the message counting metric interest scenario, executing, by the message queue data monitoring system, a message queue data corrective procedure that includes; requesting, by the message queue data monitoring system, expiration times of messages sent from each client, determining, by the message queue data monitoring system, which one or more clients are responsible for causing the calculated message counting metric to exceed the threshold based on the expiration times, and sending, by the message queue data monitoring system, a message to the one or more clients requesting the one or more clients to increase the expiration times of messages sent from the one or more clients, wherein increasing the expiration times of the messages from the one or more clients enables the messages from the one or more clients to be stored in the message queue for processing for a longer amount of time before being purged. - View Dependent Claims (18)
-
Specification