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.
Claims22
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 in a data system, the method comprising:
- obtaining a request for performing a first transaction to be directed to a portion of data at the node;
- determining a workload mixing condition associated with the first transaction;
- initiating the first transaction;
- suspending the first transaction when the workload mixing condition is met;
- carrying out a second transaction at the node, wherein the second transaction is directed to the portion of data at the node;
- and
- setting a first status flag for at least one record included in the portion of data based on the second transaction, wherein the first status flag indicates a manner by which the record is modified by the second transaction, so that the first transaction is to interact with the record based on the first status flag 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 analyzer configured for obtaining a request for performing a first transaction to be directed to a portion of data at the node;
- a model selector configured for determining a workload mixing condition associated with the first transaction;
- and
- a transaction execution module configured for:
- initiating the first transaction,
- suspending the first transaction when the workload mixing condition is met,
- carrying out a second transaction at the node, wherein the second transaction is directed to the portion of data at the node, and
- setting a first status flag for at least one record included in the portion of data based on the second transaction, wherein the first status flag indicates a manner by which the record is modified by the second transaction, so that the first transaction is to interact with the record based on the first status flag 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:
- obtaining a request for performing a first transaction to be directed to a portion of data at the node;
- determining a workload mixing condition associated with the first transaction;
- initiating the first transaction;
- suspending the first transaction when the workload mixing condition is met;
- carrying out a second transaction at the node, wherein the second transaction is directed to the portion of data at the node;
- and
- setting a first status flag for at least one record included in the portion of data based on the second transaction, wherein the first status flag indicates a manner by which the record is modified by the second transaction, so that the first transaction is to interact with the record based on the first status flag upon being resumed.
Dependencies are inferred from the claim text.