Method and system for scheduling transactions in a data system
AssigneeOath Inc.
InventorsGuangxin Yang, Dongyue Wang, Xinyu Wang, Wei Liang, Sihan Ge
Life of this patent
Estimating the term…
Abstract
The present teaching relates to scheduling transactions at a node in a data system. In one example, a request is obtained for performing a first transaction at the node. A mixing condition associated with the first transaction is determined. The first transaction is initiated. The first transaction is suspended when the mixing condition is met. A second transaction is carried out at the node. The first transaction and the second transaction are directed to a same portion of data at the node.
Claims18
A method, implemented on a machine having at least one processor, storage, and a communication platform connected to a network for scheduling transactions at a node, the method comprising:
- initiating a first transaction directed to a portion of data at the node, the first transaction being associated with a workload mixing condition;
- suspending the first transaction in response to the workload mixing condition being satisfied;
- identifying, in response to the suspending, a second transaction that is directed to the portion of data at the node in accordance with a priority model;
- carrying out the second transaction at the node;
- and
- setting a status flag for at least one record included in the portion of data based on the second transaction, the status flag indicating a manner by which the first transaction is to interact with the record upon being resumed.
A machine-readable, non-transitory and tangible medium having information recorded thereon for scheduling transactions at a node in a data system, wherein the information, when read by the machine, causes the machine to perform the following:
- initiating a first transaction directed to a portion of data at the node, the first transaction being associated with a workload mixing condition;
- suspending the first transaction in response to the workload mixing condition being satisfied;
- identifying, in response to the suspending, a second transaction that is directed to the portion of data at the node in accordance with a priority model;
- carrying out the second transaction at the node;
- and
- setting a status flag for at least one record included in the portion of data based on the second transaction, the status flag indicating a manner by which the first transaction is to interact with the record upon being resumed.
A system, having at least one processor, storage, and a communication platform connected to a network for scheduling transactions at a node in a data system, the system comprising:
- a transaction execution module configured for:
- initiating a first transaction directed to a portion of data at the node, the first transaction being associated with a workload mixing condition;
- suspending the first transaction in response to the workload mixing condition being satisfied;
- identifying, in response to the suspending, a second transaction that is directed to the portion of data at the node in accordance with a priority model;
- carrying out the second transaction at the node;
- and
- setting a status flag for at least one record included in the portion of data based on the second transaction, the status flag indicating a manner by which the first transaction is to interact with the record upon being resumed.
Dependencies are inferred from the claim text.