×

Idempotent task execution in on-demand network code execution systems

  • US 10,528,390 B2
  • Filed: 08/27/2018
  • Issued: 01/07/2020
  • Est. Priority Date: 09/23/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • obtaining a first request to cause execution of a task, wherein the task is associated with code executable by an on-demand code execution system to implement functionality corresponding to the task, and wherein execution of the task is dependent on a set of resources;

    generating an execution environment for the task on the on-demand code execution system at least partly by provisioning the execution environment with the code;

    initiating a first execution of the task at least partly by executing the code within the execution environment;

    determining states of respective resources, within the set of resources, at a time of the first execution of the task;

    obtaining a second request to cause execution of the task;

    for individual resources of the set of resources, comparing updated current states of the individual resources and the states of the respective resources at the time of the first execution of the task to determine that the current states of the individual resources match the states of the respective resources at the time of the first execution of the task; and

    declining to initiate a second execution of the task in response to the second request.

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