Methods and systems for batch processing in an on-demand service environment
First Claim
1. A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a system in a host organization having a processor and memory therein, the instructions cause the system to perform operations comprising:
- receiving a single processing request for a multi-tenant database, wherein the single processing request specifies;
processing logic including instructions for performing at least one operation, anda processing target group within the multi-tenant database to be processed by the processing logic, wherein the processing target group includes data within the multi-tenant database;
dividing the processing target group into a plurality of processing target sub-groups;
queuing the single processing request to a batch processing queue of the multi-tenant database; and
based on when the single processing request in the queue is processed, individually processing each of the plurality of processing target sub-groups via the processing logic.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments disclosed herein, there are provided mechanisms and methods for batch processing in an on-demand service environment. For example, in one embodiment, mechanisms include receiving a processing request for a multi-tenant database, in which the processing request specifies processing logic and a processing target group within the multi-tenant database. Such an embodiment further includes dividing or chunking the processing target group into a plurality of processing target sub-groups, queuing the processing request with a batch processing queue for the multi-tenant database among a plurality of previously queued processing requests, and releasing each of the plurality of processing target sub-groups for processing in the multi-tenant database via the processing logic at one or more times specified by the batch processing queue.
144 Citations
14 Claims
-
1. A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a system in a host organization having a processor and memory therein, the instructions cause the system to perform operations comprising:
-
receiving a single processing request for a multi-tenant database, wherein the single processing request specifies; processing logic including instructions for performing at least one operation, and a processing target group within the multi-tenant database to be processed by the processing logic, wherein the processing target group includes data within the multi-tenant database; dividing the processing target group into a plurality of processing target sub-groups; queuing the single processing request to a batch processing queue of the multi-tenant database; and based on when the single processing request in the queue is processed, individually processing each of the plurality of processing target sub-groups via the processing logic. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14)
-
-
9. A system comprising:
a processor for; receiving a single processing request for a multi-tenant database, wherein the single processing request specifies; processing logic including instructions for performing at least one operation, and a processing target group within the multi-tenant database to be processed by the processing logic, wherein the processing target group includes data within the multi-tenant database; dividing the processing target group into a plurality of processing target sub-groups; queuing the single processing request to a batch processing queue of the multi-tenant database; and based on when the single processing request in the queue is processed, individually processing each of the plurality of processing target sub-groups via the processing logic.
-
10. A method comprising:
-
receiving a single processing request for a multi-tenant database, wherein the single processing request specifies; processing logic including instructions for performing at least one operation, and a processing target group within the multi-tenant database to be processed by the processing logic, wherein the processing target group includes data within the multi-tenant database; dividing the processing target group into a plurality of processing target sub-groups; queuing the single processing request to a batch processing queue of the multi-tenant database; and based on when the single processing request in the queue is processed, individually processing each of the plurality of processing target sub-groups via the processing logic.
-
Specification