×

Executing user-defined code in response to determining that resources expected to be utilized comply with resource restrictions

  • US 10,754,701 B1
  • Filed: 12/16/2015
  • Issued: 08/25/2020
  • Est. Priority Date: 12/16/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of selecting an execution location in an on-demand code execution environment, the on-demand code execution environment comprising a plurality of points of presence (POPs) on which user-defined code may be executed, the method comprising:

  • as implemented by one or more computing devices configured with specific computer-executable instructions,generating an execution profile for a task associated with the on-demand code execution environment and generated by a user of the on-demand code execution environment, the task represented by at least a first set of user-defined executable code, wherein the execution profile indicates amounts of individual computing resources, from a set of computing resources, that an execution of the first set of user-defined executable code representing the task on the on-demand code execution environment is expected to utilize;

    obtaining, from a client computing device distinct from a first POP of the plurality of POPs, a request for the first POP to execute the first set of user-defined executable code representing the task on behalf of the client computing device;

    prior to satisfying the request by executing the first set of user-defined executable code representing the task at the first POP on behalf of the client computing device, comparing the execution profile of the task to a set of resource restrictions associated with the first POP, indicating at least a maximum time in which execution of the first set of user-defined executable code representing the task is expected to complete, to determine that the amounts of individual computing resources, from the set of computing resources, expected to be utilized during execution of the first set of user-defined executable code representing the task at the first POP comply with the resource restrictions of the first POP; and

    causing the first POP to execute the first set of user-defined executable code representing the task on behalf of the client computing device in response to determining that the amounts of individual computing resources expected to be utilized complies with the resource restrictions of the first POP.

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