Detecting and managing flooding of multi-tenant message queues
First Claim
1. A computer-implemented method for managing message queues in a database system having a message queue system that includes queues shared by multiple message types and tenants, the method comprising:
- detecting a message flooding condition in the message queue system;
identifying a source of the message flooding condition as a flooder;
allocating a dedicated message queue to the flooder, wherein the dedicated message queue is implemented in local physical memory of a server in the database system;
diverting the flooder'"'"'s message traffic to the dedicated message queue; and
responsive to the flooding condition subsiding, de-allocating the dedicated message queue and routing the flooder'"'"'s message traffic normally.
2 Assignments
0 Petitions
Accused Products
Abstract
A messaging system implements messaging among application servers and databases, utilizing other servers that implement messaging brokers. A large flood of incoming messages can bring down messaging brokers by overflowing the message queues, negatively impacting performance of the overall system. This disclosure in some embodiments detects and identifies “flooders” in a timely manner and isolates their message traffic to dedicated queues to avoid impacting other system users. Subsequently, a preferred system de-allocates the queues and returns the messaging system to normal operation when flooding conditions subside, and “sweeps” up any remaining orphan messages.
-
Citations
20 Claims
-
1. A computer-implemented method for managing message queues in a database system having a message queue system that includes queues shared by multiple message types and tenants, the method comprising:
-
detecting a message flooding condition in the message queue system; identifying a source of the message flooding condition as a flooder; allocating a dedicated message queue to the flooder, wherein the dedicated message queue is implemented in local physical memory of a server in the database system; diverting the flooder'"'"'s message traffic to the dedicated message queue; and responsive to the flooding condition subsiding, de-allocating the dedicated message queue and routing the flooder'"'"'s message traffic normally. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system comprising:
-
a database; a plurality of application servers configured for communication with the database; a message framework interconnecting the database and the application servers; the message framework including a plurality of message brokers implemented on message queue host servers, each host server having local physical server memory accessible to the message broker to implement a local message queue, and a flood detector component arranged to detect flooding on the message framework; and wherein the flood detector is arranged to divert message traffic on the message framework from a flooder to a secondary message storage element in the database to relieve flooding on the message framework, the secondary message storage element physically separate from the local message queue. - View Dependent Claims (12, 13, 14)
-
-
15. A computer program stored on a tangible medium for a database system for managing a message queue system to prevent message flooding from impacting system performance, the computer program comprising a set of instructions operable to:
-
detect a message flooding condition in the message queue system; identify a source of the message flooding condition as a flooder; allocate a dedicated message queue to the flooder; divert the flooder'"'"'s message traffic to the dedicated message queue to avoid impacting other message traffic; and responsive to the flooding condition subsiding, de-allocate the dedicated message queue. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification