×

Methods and systems for batch processing in an on-demand service environment

  • US 9,507,627 B2
  • Filed: 10/23/2013
  • Issued: 11/29/2016
  • Est. Priority Date: 04/20/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method in a system having at least a processor and a memory therein for executing instructions, wherein the method comprises:

  • communicating, via a request interface of the system, with a remotely connected client device during a synchronous request/reply session established between the client device and the request interface of the system;

    receiving at the request interface of the system, a request for synchronous processing from the remotely connected client device, the request specifying a real-time transaction request to retrieve or store data on behalf of the client device at a database system communicably interfaced with the system;

    rejecting or terminating the real-time transaction request;

    receiving, at the system, a batch processing request from the remotely connected client device, the batch processing request re-submitting the real-time transaction request to retrieve or store data on behalf of the client device at a database system as a batch processing request to be completed via asynchronous processing at the database system;

    dividing the batch processing request into a plurality of processing target sub-groups;

    queuing the batch processing request within a batch processing queue;

    releasing each of the plurality of processing target sub-groups for processing by the database system at one or more times specified by the batch processing queue; and

    sending a completion status to an originator of the batch processing request, the completion status indicating a successful or unsuccessful completion for each processing target sub-group, wherein each completion status comprises a status selected from the group comprising;

    complete and committed without error;

    complete and committed after re-try due to excessive use of resources;

    complete and committed after re-try due to excessive workload at the database system; and

    abort due to one or more errors for the respective processing target sub-group, wherein any database transaction error for the respective processing target sub-group prevents committing transaction associated with the respective processing target sub-group to the database system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×