EXECUTION OF AUXILIARY FUNCTIONS IN AN ON-DEMAND NETWORK CODE EXECUTION SYSTEM

    公开(公告)号:US20190391834A1

    公开(公告)日:2019-12-26

    申请号:US16017954

    申请日:2018-06-25

    Abstract: Systems and methods are described for providing auxiliary functions in an on-demand code execution system in a manner that enables efficient execution of code. A user may generate a task on the system by submitting code. The system may determine the auxiliary functions that the submitted code may require when executed on the system, and may provide these auxiliary functions by provisioning sidecar virtual machine instances that work in conjunction with the virtual machine instance executing the submitted code. The sidecars may provide auxiliary functions on a per-task, per-user, or per-request basis, and the lifecycles of the sidecars may be determined based on the lifecycles of the virtual machine instances that execute submitted code. Auxiliary functions may thus be provided only when needed, and may be provided securely by preventing a user from accessing the sidecars of other users.

    Dynamic function calls in an on-demand network code execution system

    公开(公告)号:US10360067B1

    公开(公告)日:2019-07-23

    申请号:US15472078

    申请日:2017-03-28

    Abstract: Systems and methods are described for providing dynamic function calls in an on-demand code execution system, whereby a task can be invoked on the on-demand code execution system based on functionality provided by the task, rather than an identifier of the task. The on-demand code execution system can enable tasks to register as providing a given functionality, and when a call is received to implement the functionality (e.g., from another task on the on-demand code execution system), the on-demand code execution system can select a task based on those registered. In some instances, the selected task may be based on a combination of execution cost of the task (e.g., compute costs utilized to execute the task) and invocation costs of the task (e.g., compute costs utilized to initiate execution of the task on the on-demand code execution system).

    LOW LATENCY COMPUTATIONAL CAPACITY PROVISIONING

    公开(公告)号:US20190155629A1

    公开(公告)日:2019-05-23

    申请号:US16165492

    申请日:2018-10-19

    Abstract: A system for providing low latency computational capacity is provided. The system may be configured to maintain a pool of virtual machine instances, which may be assigned to users to service the requests associated with the users. The system may further be configured to receive a request to acquire compute capacity for executing a program code associated with a particular user, determine whether the pool of virtual machine instances includes a container that may be used to execute the program code therein, and cause the program code of the particular user to be executed in the container.

    ACQUISITION AND MAINTENANCE OF COMPUTE CAPACITY

    公开(公告)号:US20190102231A1

    公开(公告)日:2019-04-04

    申请号:US16118234

    申请日:2018-08-30

    Abstract: A system for providing low-latency computational capacity from a virtual compute fleet is provided. The system may be configured to maintain a plurality of virtual machine instances on one or more physical computing devices, wherein the plurality of virtual machine instances comprises a first pool comprising a first sub-pool of virtual machine instances and a second sub-pool of virtual machine instances, and a second pool comprising virtual machine instances used for executing one or more program codes thereon. The first sub-pool and/or the second sub-pool may be associated with one or more users of the system. The system may be further configured to process code execution requests and execute program codes on the virtual machine instances of the first or second sub-pool.

    Low latency computational capacity provisioning

    公开(公告)号:US10108443B2

    公开(公告)日:2018-10-23

    申请号:US15468724

    申请日:2017-03-24

    Abstract: A system for providing low latency computational capacity is provided. The system may be configured to maintain a pool of virtual machine instances, which may be assigned to users to service the requests associated with the users. The system may further be configured to receive a request to acquire compute capacity for executing a program code associated with a particular user, determine whether the pool of virtual machine instances includes a container that may be used to execute the program code therein, and cause the program code of the particular user to be executed in the container.

    Idempotent task execution in on-demand network code execution systems

    公开(公告)号:US10061613B1

    公开(公告)日:2018-08-28

    申请号:US15275228

    申请日:2016-09-23

    CPC classification number: G06F9/5005 G06F9/445

    Abstract: Systems and methods are described for handling requests to execute idempotent code in an on-demand code execution system or other distributed code execution environment. Idempotent code can generally include code that produces the same outcome even when executed multiple times, so long as dependencies for the code are in the same state as during a prior execution. Due to this feature, multiple executions of idempotent code may inefficiently use computing resources, particularly in on-demand code execution system (which may require, for example, generation and provisioning of an appropriate execution environment for the code). Aspects of the present disclosure enable the on-demand code execution system to process requests to execute code by verifying whether dependency states associated with the code have changed since a prior execution. If dependency states have not changed, no execution need occur, and the overall computing resource us of the on-demand code execution system is decreased.

    Pre-triggers for code execution environments

    公开(公告)号:US10013267B1

    公开(公告)日:2018-07-03

    申请号:US14971934

    申请日:2015-12-16

    Abstract: Systems and methods are described for managing initialization of virtual machine instances within an on-demand code execution environment or other distributed code execution environment. Such environments utilize pre-initialized virtual machine instances to enable execution of user-specified code in a rapid manner, without delays typically caused by initialization of the virtual machine instances. However, because the number of pre-initialized virtual machine instances maintained at an on-demand code execution environment is typically limited, insufficient number of pre-initialized virtual machine instances may be available at the on-demand code execution environment during times of heavy use. Embodiments described herein utilize pre-trigger notifications to indicate to the on-demand code execution environment that subsequent requests to execute user-specified code are likely to occur. The on-demand code execution environment may therefore pre-initialize additional virtual machine instances in preparation for the subsequent requests, reducing delay that would be required to initialize the instances after obtaining to the requests.

Patent Agency Ranking