×

Asynchronous task management in an on-demand network code execution environment

  • US 10,282,229 B2
  • Filed: 06/28/2016
  • Issued: 05/07/2019
  • Est. Priority Date: 06/28/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system to manage asynchronous execution of tasks in an on-demand code execution system, the system comprising:

  • a non-transitory data store configured to store a queue of operations awaiting execution on the on-demand code execution system, wherein individual operations are associated with code executable to implement functionality corresponding to the individual operations; and

    one or more processors configured with computer-executable instructions to;

    obtain instructions to execute a first task associated with first executable code;

    begin execution of the first executable code, wherein execution of the first executable code calls for execution of a first dependency operation;

    determine a deadline for the first dependency operation based at least in part on historical data regarding prior executions of the first executable code;

    determine that the deadline for the first dependency operation satisfies a threshold value, wherein the deadline indicates an expected point in time at which the execution of the first executable code will reach a state in which a result of the first dependency operation is required by the execution of the first executable code;

    enqueue the first dependency operation into the queue based at least in part on the deadline;

    process the queue based at least in part on an available capacity of the on-demand code execution system to execute operations, wherein processing the queue comprises executing the first dependency operation; and

    notify the execution of the first executable code that the first dependency operation has completed.

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