×

Resource constraints for request processing

  • US 9,148,329 B1
  • Filed: 03/27/2012
  • Issued: 09/29/2015
  • Est. Priority Date: 11/30/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • at a respective server system having one or more processors and memory storing one or more programs that when executed by the one or more processors cause the respective server system to perform the method, the method comprising;

    receiving a first request from an application;

    processing at least a portion of the first request in accordance with a predefined set of resource constraints; and

    in accordance with a determination that the predefined set of resource constraints has been met prior to completing processing the first request;

    terminating processing of the first request prior to completing processing of the first request, wherein terminating processing of the first request includes generating detailed state information and approximate state information corresponding to a state of the first request at the time that it was terminated, and wherein the detailed state information includes additional processing state parameters in comparison with the approximate state information;

    generating a first intermediate result; and

    providing a response to the application including;

    the first intermediate result; and

    request status information enabling the application to request resumption of the first request, wherein the request status information includes;

    a query handle that enables the server system to resume processing the first request in accordance with the detailed state information; and

    a query cursor that enables the server system to resume processing the first request in accordance with the approximate state information;

    receiving a second request to resume processing the first request, wherein the second request includes both the query handle and the query cursor;

    in accordance with a determination that the detailed state information has not expired, utilizing the query handle to resume processing and forgoing utilizing the query cursor; and

    in accordance with a determination that the detailed state information has expired, utilizing the query cursor to resume processing and forgoing utilizing the query handle.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×