Network-level garbage collection in an on-demand code execution system

    公开(公告)号:US11526434B1

    公开(公告)日:2022-12-13

    申请号:US16452440

    申请日:2019-06-25

    IPC分类号: G06F9/50 G06F12/02 G06F9/455

    摘要: Systems and methods are described for management of garbage collection processes in an on-demand code execution system. An on-demand code execution system may execute user-submitted code on virtual machine instances. As each virtual machine instance executes code, garbage (e.g., memory that is allocated and then not properly de-allocated) may accumulate and may reduce the computing resources that the virtual machine instance makes available for allocation to further code executions. A garbage collection schedule manager may be used to generate a system-wide garbage collection schedule and manage garbage collection processes in accordance with the schedule. The garbage collection schedule manager may schedule garbage collection processes at times when demand for computing resources is forecasted to be low, and may coordinate scheduling of garbage collection processes across multiple virtual machine instances and host computing devices to prevent garbage collection processes from impacting code execution performance.

    Program code allocation based on processor features

    公开(公告)号:US11050846B2

    公开(公告)日:2021-06-29

    申请号:US16264492

    申请日:2019-01-31

    摘要: Methods, systems, and computer-readable media for program code allocation based on processor features are disclosed. Analysis of program code is performed using static analysis and/or runtime analysis. The analysis determines one or more processor features invoked by the program code. One or more program execution servers are selected from a plurality of program execution servers based at least in part on the one or more processor features invoked by the program code. One or more selected program execution servers comprise the one or more processor features invoked by the program code, and an additional one or more of the program execution servers lack the one or more processor features invoked by the program code. The program code is executed using the one or more selected program execution servers.

    Performance-based hardware emulation in an on-demand network code execution system

    公开(公告)号:US10884812B2

    公开(公告)日:2021-01-05

    申请号:US16219842

    申请日:2018-12-13

    IPC分类号: G06F9/50 G06F8/75 G06F9/455

    摘要: Systems and methods are described for providing performance-based hardware emulation in an on-demand network code execution system. A user may generate a task on the system by submitting code. The system may determine, based on the code or its execution, that the code executes more efficiently if certain functionality is available, such as an extension to a processor's instruction set. The system may further determine that it can provide the needed functionality using various computing resources, which may include physical hardware, emulated hardware (e.g., a virtual machine), or combinations thereof. The system may then determine and provide a set of computing resources to use when executing the user-submitted code, which may be based on factors such as availability, cost, estimated performance, desired performance, or other criteria. The system may also migrate code from one set of computing resources to another, and may analyze demand and project future computing resource needs.

    Cloud-based access to quantum computing resources

    公开(公告)号:US10817337B1

    公开(公告)日:2020-10-27

    申请号:US15814301

    申请日:2017-11-15

    IPC分类号: G06F9/50 G06N10/00

    摘要: Methods, systems, and computer-readable media for cloud-based access to quantum computing resources are disclosed. A classical computing instance is launched based at least in part on a request. The computing instance is launched by a control plane of a provider network. A quantum computing resource is accessible to the computing instance and is selected based at least in part on input from a user associated with the request. The quantum computing resource is implemented in the provider network and comprises a plurality of quantum bits. A quantum algorithm is run on the quantum computing resource.

    Execution of auxiliary functions in an on-demand network code execution system

    公开(公告)号:US10817331B2

    公开(公告)日:2020-10-27

    申请号:US16017970

    申请日:2018-06-25

    IPC分类号: G06F9/46 G06F9/48

    摘要: 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.