Recoverable asynchronous message driven processing in a multi-node system
First Claim
1. A method for performing actions in response to messages transmitted within a computer system, the method comprising steps of:
- receiving within a queue a first message that notifies of a condition;
as a first transaction initiated by a first entity, performing first operations that include;
dequeueing the first message from the queue, andperforming a first operation related to the condition;
wherein said first transaction terminates without being committed;
as a second transaction initiated by a second entity, performing second operations that include;
dequeueing the first message from the queue, andperforming a second operation related to the condition;
committing said second transaction; and
wherein the steps are performed by one or more computing machines.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach provides for recovery of message driven directors responsible for dynamically allocating resources within a multi-node database system. The receipt of a message, the action taken in response to it, and other messages sent in furtherance of the action, are performed within a single transaction. In this way, the messages and other data are left in a state consistent with the message and action taken in response being fully processed or not processed at all. A standby director, stepping in for a crashed director, inherits a state consistent with where a crashed director last successfully completed an action. The approach insulates directors from the special perils of performing high latency actions by delegating the performance of such actions to a job, (i.e. another process).
178 Citations
26 Claims
-
1. A method for performing actions in response to messages transmitted within a computer system, the method comprising steps of:
-
receiving within a queue a first message that notifies of a condition; as a first transaction initiated by a first entity, performing first operations that include; dequeueing the first message from the queue, and performing a first operation related to the condition; wherein said first transaction terminates without being committed; as a second transaction initiated by a second entity, performing second operations that include; dequeueing the first message from the queue, and performing a second operation related to the condition; committing said second transaction; and wherein the steps are performed by one or more computing machines. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable medium storing instructions encoded therewith which, when executed with one or more processors of a computer system, causes performance of steps of:
-
as a first transaction initiated by a first entity, performing first operations that include; dequeueing the first message from the queue, and performing a first operation related to the condition; wherein said first transaction terminates without being committed; as a second transaction initiated by a second entity, performing second operations that include; dequeueing the first message from the queue, and performing a second operation related to the condition; and committing said second transaction. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification