Batching content management operations to facilitate efficient database interactions
AssigneeEMC Corporation
InventorsShu-Shang Sam Wei, Roger W. Kilday, Victor Spivak, Meir Amiel, David Buccola, Bryce Noland
Life of this patent
Estimating the term…
Abstract
Batching content management operations to facilitate efficient database interactions is disclosed. Two or more content management-related requests are received. The two or more content management-related requests are treated as a batch, including by formulating and sending to a database in a single database interaction a grouped request to add, delete, or modify each of a plurality of database records.
Claims18
A method for managing stored content, comprising:
- receiving two or more content management-related requests originally assigned to be processed together as part of a batch, wherein a batch of content management-related requests comprises requests that are sent to a database before a change to the database corresponding to the requests is committed;
- storing the received content management-related requests in a queue;
- after receiving the two or more content management-related requests, receiving an additional content management-related request originally assigned to be processed together with the two or more content management-related requests as part of the batch;
- using a processor to determine whether the received additional content management-related request has a dependency upon at least one of the content management-related requests stored in the queue;
- and
- in response to determining that the received additional content management-related request has a dependency upon at least one of the stored content management-related requests, processing only the two or more content management-related requests together as the batch, comprising:
- excluding any later content management-related requests to be processed together with the two or more content management-related requests as the batch;
- performing the two or more content management-related requests stored in the queue as the batch, including by formulating and sending to the database in a single database interaction a grouped request to add, delete, or modify each of a plurality of database records;
- and
- delaying to perform the additional content management-related request after the two or more content management-related requests are performed.
A content management system, comprising:
- a communication interface configured to receive two or more content management-related requests originally assigned to be processed together as part of a batch, wherein a batch of content management-related requests comprises requests that are sent to a database before a change to the database corresponding to the requests is committed;
- and
- a processor configured to:
- store the received content management-related requests in a queue;
- after receiving the two or more content management-related requests, receive an additional content management-related request originally assigned to be processed together with the two or more content management-related requests as part of the batch;
- determine whether the received additional content management-related request has a dependency upon at least one of the content management-related requests stored in the queue;
- and
- in response to determining that the received additional content management-related request has a dependency upon at least one of the stored content management-related requests, process only the two or more content management-related requests together as the batch, comprising:
- exclude any later content management-related requests to be processed together with the two or more content management-related requests as the batch;
- perform the two or more content management-related requests stored in the queue as the batch, including by formulating and sending to the database in a single database interaction a grouped request to add, delete, or modify each of a plurality of database records;
- and
- delay to perform the additional content management-related request after the two or more content management-related requests are performed.
A computer program product for managing stored content, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- receiving two or more content management-related requests originally assigned to be processed together as part of a batch, wherein a batch of content management-related requests comprises requests that are sent to a database before a change to the database corresponding to the requests is committed;
- storing the received content management-related requests in a queue;
- after receiving the two or more content management-related requests, receiving an additional content management-related request originally assigned to be processed together with the two or more content management-related requests as part of the batch;
- determining whether the received additional content management-related request has a dependency upon at least one of the content management-related requests stored in the queue;
- and
- in response to determining that the received additional content management-related request has a dependency upon at least one of the stored content management-related requests, processing only the two or more content management-related requests together as the batch, comprising:
- excluding any later content management-related requests to be processed together with the two or more content management-related requests as the batch;
- performing the two or more content management-related requests stored in the queue as the batch, including by formulating and sending to the database in a single database interaction a grouped request to add, delete, or modify each of a plurality of database records;
- and
- delay to perform the additional content management-related request after the two or more content management-related requests are performed.
Dependencies are inferred from the claim text.