Virtualization-based transaction handling in an on-demand network code execution system

    公开(公告)号:US11714675B2

    公开(公告)日:2023-08-01

    申请号:US17472380

    申请日:2021-09-10

    CPC classification number: G06F9/466 H04L67/02

    Abstract: Systems and methods are described for providing virtualized transaction retries in an on-demand network code execution system. A user may generate a task on the system by submitting code. The task may include a transaction that can succeed or fail depending on external factors, such as accessing a resource that other processes are also trying to access. The system may obtain success criteria for evaluating whether the transaction was successful, and may configure a virtual machine instance to execute the submitted code. The system may generate a “snapshot” or otherwise capture information regarding the state of the virtual machine instance prior to executing the code, and may then execute the code or a portion of it to attempt the transaction. The system may then apply the success criteria to determine whether the transaction was successful, and if not may retry the transaction by restoring the snapshot and re-executing the code.

    Service for managing quantum computing resources

    公开(公告)号:US11270220B1

    公开(公告)日:2022-03-08

    申请号:US15814304

    申请日:2017-11-15

    Abstract: Methods, systems, and computer-readable media for a service for managing quantum computing resources are disclosed. A task management service receives a description of a task specified by a client. From a pool of computing resources of a provider network, the service selects a quantum computing resource for implementation of the task. The quantum computing resource comprises a plurality of quantum bits. The service causes the quantum computing resource to run a quantum algorithm associated with the task. The service receives one or more results of the quantum algorithm from the quantum computing resource.

    REDUCING EXECUTION TIMES IN AN ON-DEMAND NETWORK CODE EXECUTION SYSTEM USING SAVED MACHINE STATES

    公开(公告)号:US20220012083A1

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

    申请号:US17445699

    申请日:2021-08-23

    Abstract: Systems and methods are described for reducing latency to service requests to execute code on an on-demand code execution system by maintaining snapshots of virtual machine instances in a ready state to execute such code. A user may submit code to the on-demand code execution system, which code depends on other software, such as an operating system or runtime. The on-demand code execution system can generate a virtual machine instance provisioned with the other software, and initialize the instance into a state at which it is ready to execute the code. The on-demand code execution system can then generate a snapshot of the state of the instance, and halt the instance. When a request to execute the code is received, the snapshot can be used to quickly restore the instance. The code can then be executed within the instance, reducing the need to initialize the instance or maintain the instance in an executing state.

    VIRTUALIZATION-BASED TRANSACTION HANDLING IN AN ON-DEMAND NETWORK CODE EXECUTION SYSTEM

    公开(公告)号:US20220004423A1

    公开(公告)日:2022-01-06

    申请号:US17472380

    申请日:2021-09-10

    Abstract: Systems and methods are described for providing virtualized transaction retries in an on-demand network code execution system. A user may generate a task on the system by submitting code. The task may include a transaction that can succeed or fail depending on external factors, such as accessing a resource that other processes are also trying to access. The system may obtain success criteria for evaluating whether the transaction was successful, and may configure a virtual machine instance to execute the submitted code. The system may generate a “snapshot” or otherwise capture information regarding the state of the virtual machine instance prior to executing the code, and may then execute the code or a portion of it to attempt the transaction. The system may then apply the success criteria to determine whether the transaction was successful, and if not may retry the transaction by restoring the snapshot and re-executing the code.

    Cloud-based simulation of quantum computing resources

    公开(公告)号:US11170137B1

    公开(公告)日:2021-11-09

    申请号:US15814305

    申请日:2017-11-15

    Abstract: Methods, systems, and computer-readable media for cloud-based simulation of quantum computing resources are disclosed. One or more classical computing resources are selected based at least in part on a quantum algorithm. The resources are selected by a quantum computing simulation service of a provider network. The quantum algorithm is executable using a quantum computing resource comprising a plurality of quantum bits. The one or more classical computing resources are selected from a pool of computing resources of the provider network. The quantum algorithm is simulated using the one or more classical computing resources.

    CROSS-ENVIRONMENT APPLICATION OF TRACING INFORMATION FOR IMPROVED CODE EXECUTION

    公开(公告)号:US20200341741A1

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

    申请号:US16872033

    申请日:2020-05-11

    Abstract: Systems and methods are described for enabling cross-environment application of tracing information for code, such as code executed within an on-demand (or “serverless”) code execution system. Various optimizations exist that allow execution of code to proceed faster or more efficiently over time, by collecting tracing information regarding the execution and using that tracing information to guide compilation of the code. These optimizations are typically designed for long-lived environments. However, executions within an on-demand code execution system often occur in short-lived environments, reducing or eliminating any gains from these optimizations. To address this issue, optimizations made in a first environment based on tracing information can be passed to a subsequent environment, enabling those optimizations to persist across short-lived environments.

    Dependency handling in an on-demand network code execution system

    公开(公告)号:US10725752B1

    公开(公告)日:2020-07-28

    申请号:US15895449

    申请日:2018-02-13

    Abstract: Systems and methods are described for managing dependencies among code in an on-demand code execution system in a manner that enables efficient execution of the code. A user may generate a task on the system by submitting code, which may reference additional code on the system. The system can determine a dependency graph for the submitted code, and generate multiple representations of the dependency graph, storing dependency code objects in different numbers of files. On receiving a request to provision an execution environment for the task, the system can select an appropriate representation based on an expected reuse of the files within different representations. For example, a representation of fewer files can be selected where expected future use is low, minimizing retrieval time but also potentially limiting reuse of code objects within the representation.

    OPERATING SYSTEM CUSTOMIZATION IN AN ON-DEMAND NETWORK CODE EXECUTION SYSTEM

    公开(公告)号:US20200004571A1

    公开(公告)日:2020-01-02

    申请号:US16023852

    申请日:2018-06-29

    Abstract: Systems and methods are described for managing operating system customization 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 operating system functions that the submitted code may invoke when executed on the system, and may determine whether the required functionality can be provided by a customized operating system. The customized operating system may provide some functionality but omit other functionality, and thereby avoid consuming any resources associated with making the omitted functionality available. For example, the system may determine that the user-submitted code does not require filesystem interactions, network interactions, interactions with particular devices, caching, paging, profiling, etc., and may thus provide an operating system that does not include one or more of these services.

Patent Agency Ranking