Predictive management of on-demand code execution
First Claim
1. A system comprising:
- a computing device comprising a processor coupled to a memory, the memory including specific instructions to cause the computing device to;
determine a task on a distributed code execution environment to be actively monitored, wherein the task corresponds to a set of user-defined code executable within the distributed code execution environment;
during an individual execution of the task on the distributed code execution environment, modify one or more service calls, generated by the individual execution of the task, to include active monitoring information identifying the individual execution;
identify a service call, received at the distributed code execution environment, that includes the active monitoring information; and
generate a task profile based at least in part on the individual execution of the task and on the service call that includes the active monitoring information, wherein the task profile indicates a relationship between the individual execution and the service call that includes the active monitoring information.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are described for monitoring code execution within an on-demand code execution environment or other distributed code execution environment. The distributed, asynchronous nature of such environment can make determining the interactions between code executions difficult relative to traditional, non-distributed systems. The present disclosure enables the interrelations between code executions to be monitored by injecting monitoring information into the calls between those code executions. The monitoring information may be propagated through calls, such that a “path” or “trace” of code executions and calls can be determined. Data generated based on the monitoring information can be used to generate a profile for a set of code, so that a developer or other user may easily debug or optimize execution of the code.
-
Citations
20 Claims
-
1. A system comprising:
a computing device comprising a processor coupled to a memory, the memory including specific instructions to cause the computing device to; determine a task on a distributed code execution environment to be actively monitored, wherein the task corresponds to a set of user-defined code executable within the distributed code execution environment; during an individual execution of the task on the distributed code execution environment, modify one or more service calls, generated by the individual execution of the task, to include active monitoring information identifying the individual execution; identify a service call, received at the distributed code execution environment, that includes the active monitoring information; and generate a task profile based at least in part on the individual execution of the task and on the service call that includes the active monitoring information, wherein the task profile indicates a relationship between the individual execution and the service call that includes the active monitoring information. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer-implemented method comprising:
-
determining a task on a distributed code execution environment to be actively monitored, wherein the task corresponds to a set of user-defined code executable within the distributed code execution environment; during an individual execution of the task on the distributed code execution environment, modifying one or more service calls, generated by the individual execution of the task, to include active monitoring information identifying the individual execution; identifying a service call, received at the distributed code execution environment, that includes the active monitoring information; and generating a task profile based at least in part on the individual execution of the task and on the service call that includes the active monitoring information, wherein the task profile indicates a relationship between the individual execution and the service call that includes the active monitoring information. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. Non-transitory computer-readable media comprising computer-executable instructions that, when executed by a computing system, cause the system to:
-
determine a task on a distributed code execution environment to be actively monitored, wherein the task corresponds to a set of user-defined code executable within the distributed code execution environment; during an individual execution of the task on the distributed code execution environment, modify one or more service calls, generated by the individual execution of the task, to include active monitoring information identifying the individual execution; identify a service call, received at the distributed code execution environment, that includes the active monitoring information; and generate a task profile based at least in part on the individual execution of the task and on the service call that includes the active monitoring information, wherein the task profile indicates a relationship between the individual execution and the service call that includes the active monitoring information. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification