THREADING AS A SERVICE
0 Assignments
0 Petitions
Accused Products
Abstract
A service manages a plurality of virtual machine instances for low latency execution of user codes. The plurality of virtual machine instances can be configured based on a predetermined set of configurations. One or more containers may be created within the virtual machine instances. In response to a request to execute user code, the service identifies a pre-configured virtual machine instance suitable for executing the user code. The service can allocate the identified virtual machine instance to the user, create a new container within an instance already allocated to the user, or re-use a container already created for execution of the user code. When the user code has not been activated for a time-out period, the service can invalidate allocation of the virtual machine instance destroy the container. The time from receiving the request to beginning code execution is less than a predetermined duration, for example, 100 ms.
46 Citations
41 Claims
-
1-21. -21. (canceled)
-
22. A computer-implemented method to process requests to execute user code on one or more virtual machine instances, the method comprising:
as implemented by one or more computing devices configured with specific computer-executable instructions, providing a plurality of warmed virtual machine instances, each of the warmed virtual machine instances containing a software component associated with a programming language; subsequent to providing the plurality of warmed virtual machine instances, receiving a request to execute a user code, the request comprising configuration information for executing the user code; identifying a virtual machine instance from the plurality of warmed virtual machine instances based on the configuration information, wherein the virtual machine instance contains a particular software component usable to execute the user code; creating, within the virtual machine instance, a container in which to execute the user code; loading the user code into the container within the virtual machine instance; and executing the user code in the container within the virtual machine instance. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30)
-
31. A system for processing requests to execute user code on one or more virtual machine instances, the system comprising:
-
one or more processors; one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, cause the one or more processors to; provide a plurality of warmed virtual machine instances, each of the warmed virtual machine instances containing a software component associated with a programming language; subsequent to providing the plurality of warmed virtual machine instances, receive a request to execute a user code, the request comprising configuration information for executing the user code; identify a virtual machine instance from the plurality of warmed virtual machine instances based on the, configuration information, wherein the virtual machine instance contains a particular software component usable to execute the user code; create, within the virtual machine instance, a container in which to execute the user code; load the user code into the container within the virtual machine instance; and execute the user code in the container within the virtual machine instance. - View Dependent Claims (32, 33, 34, 35, 36)
-
-
37. Non-transitory physical computer storage storing computer-executable instructions, which, when executed by a computer system, cause the computer system to:
-
provide a plurality of warmed virtual machine instances, each of the warmed virtual machine instances containing a software component associated with a programming language; subsequent to providing the plurality of warmed virtual machine instances, receive a request to execute a user code, the request comprising configuration information for executing the user code; identify a virtual machine instance from the plurality of warmed virtual machine instances based on the configuration information, wherein the virtual machine instance contains a particular software component usable to execute the user code; create, within the virtual machine instance, a container in which to execute the user code; load the user code into the container within the virtual machine instance; and execute the user code in the container within the virtual machine instance. - View Dependent Claims (38, 39, 40, 41)
-
Specification