×

Predictive management of on-demand code execution

  • US 9,830,175 B1
  • Filed: 12/16/2015
  • Issued: 11/28/2017
  • Est. Priority Date: 12/16/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for predictively managing code execution in an on-demand code execution environment, the on-demand code execution environment comprising a plurality of virtual machine instances, individual virtual machine instances of the plurality of virtual machine instances executing an initialized operating system and awaiting requests to execute user-specified code within that operating system, the method comprising:

  • as implemented by one or more computing devices configured with specific computer-executable instructions,obtaining a task profile for a task associated with the on-demand code execution environment, the task corresponding to a set of user-defined code executable by at least one of the plurality of virtual machine instances, wherein the task profile indicates a likelihood that an execution of the task on the on-demand code execution environment will cause transmission of information to an auxiliary service external to the on-demand code execution environment;

    obtaining the request to execute the task on the on-demand code execution environment;

    determining that the likelihood indicated by the task profile satisfies a threshold value;

    selecting a virtual machine instance from the plurality of virtual machine instances on which to execute the set of user-defined code based at least in part on a quality of communication channel between the virtual machine instance and the auxiliary service; and

    instructing the virtual machine instance to execute the first set of user-defined code, wherein execution of the first set of user-defined code on the virtual machine instance results in the transmission of information to the auxiliary service via the communication channel.

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