Upgrading an execution environment for event-driven functions

US11263000B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11263000-B2
Application numberUS-202016779326-A
CountryUS
Kind codeB2
Filing dateJan 31, 2020
Priority dateFeb 26, 2018
Publication dateMar 1, 2022
Grant dateMar 1, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An event-driven compute service upgrades an execution environment for registered functions of the compute service. Some compute nodes of the service have an updated version of the execution environment and some compute nodes have the old version of the execution environment. As a part of the upgrade process, some functions are executed in both environments. For example, for some invocations of a particular function, the function is executed in the updated execution environment while for other invocations of the same function, the function is executed in the old execution environment. Based on resulting status of the executions, the compute service determines that the particular function is compatible or incompatible with the updated version of the execution environment. The compute service performs subsequent executions of incompatible functions in the old version of the execution environment instead of in the updated version. A client may be notified of the incompatibility.

First claim

Opening claim text (preview).

What is claimed is: 1. A system, comprising: one or more processors; and one or more memories, wherein the one or more memories have stored thereon instructions, which when executed by the one or more processors, cause the one or more processors to implement a compute service to: implement a plurality of compute nodes with respective execution environments, wherein at least one of the execution environments is an updated version of an execution environment and at least another of the execution environments is a previous version of the execution environment; for individual functions of one or more functions: for one or more invocations of the function, execute the function that comprises function code in the updated version of the execution environment; and for another one or more invocations of the same function that comprises the same function code, execute the function in the previous version of the execution environment; determine, based on the executions of the one or more functions in the updated version of the execution environment and the executions of the one or more same functions in the previous version of the execution environment, that at least one of the one or more functions does not satisfy one or more criteria for execution in the updated version of the execution environment; and in response to the determination that the at least one function does not satisfy the one or more criteria for execution in the updated version of the execution environment, modify the compute service to perform, for subsequent invocations of the at least one function, execution of the at least one function in the previous version of the execution environment instead of in the updated version of the execution environment. 2. The system as recited in claim 1 , wherein the instructions cause the one or more processors to implement the compute service to: determine, based on the executions of the one or more functions in the updated version and the previous version of the execution environment, that at least another of the one or more functions does satisfy the one or more criteria for execution in the updated version of the execution environment; and modify the compute service to perform subsequent executions of the at least one other function in the updated version of the execution environment instead of in the previous version of the execution environment. 3. The system as recited in claim 1 , wherein the instructions cause the one or more processors to implement the compute service to: receive, from a client of the compute service, an updated version of a particular one of the one or more functions that did not satisfy the one or more criteria; and modify the compute service to enable execution of the updated version of the particular function in the updated version of the execution environment. 4. The system as recited in claim 3 , wherein the instructions cause the one or more processors to implement the compute service to: determine, based on one or more executions of the updated version of the particular function in the updated version of the execution environment, that the updated version of the particular function does satisfy the one or more criteria for execution in the updated version of the execution environment; and modify the compute service to perform subsequent executions of the updated version of the particular function in the updated version of the execution environment instead of in the previous version of the execution environment. 5. The system as recited in claim 4 , wherein the instructions cause the one or more processors to implement the compute service to: instantiate the updated version of the execution environment on an additional compute node; and perform at least one of the one or more executions of the updated version of the particular function in the updated version of the execution environment on the additional compute node. 6. The system as recited in claim 1 , wherein the instructions cause the one or more processors to implement the compute service to: determine, based on the executions of the one or more functions in the updated version of the execution environment, that one or more particular functions that have not yet executed in the updated version of the execution environment do not satisfy one or more criteria for execution in the updated version of the execution environment; and modify the compute service to perform subsequent executions of the one or more particular functions in the previous version of the execution environment instead of in the updated version of the execution environment. 7. The system as recited in claim 1 , wherein the one or more criteria for execution in the updated version of the execution environment comprises: execution without an error; execution with less than a threshold number of errors; and execution within a threshold period of time. 8. A method, comprising: performing, by one or more computing devices that implement a compute service: implementing a plurality of compute nodes with respective execution environments, wherein at least one of the execution environments is an updated version of an execution environment and at least another of the execution environments is a previous version of the execution environment; for individual functions of one or more functions: for one or more invocations of the function, executing the function that comprises function code in the updated version of the execution environment; and for another one or more invocations of the same function that comprises the same function code, executing the function in the previous version of the execution environment; determining, based on the executions of the one or more functions in the updated version of the execution environment and the executions of the one or more same functions in the previous version of the execution environment, that at least one of the one or more functions does not satisfy one or more criteria for execution in the updated version of the execution environment; and in response to the determination that the at least one function does not satisfy the one or more criteria for execution in the updated version of the execution environment, modifying the compute service to perform, for subsequent invocations of the at least one function, execution of the at least one function in the previous version of the execution environment instead of in the updated version of the execution environment. 9. The method as recited in claim 8 , further comprising: determining, based on the executions of the one or more functions in the updated version and the previous version of the execution environment, that at least another of the one or more functions does satisfy the one or more criteria for execution in the updated version of the execution environment; and modifying the compute service to perform subsequent executions of the at least one other function in the updated version of the execution environment instead of in the previous version of the execution environment. 10. The method as recited in claim 8 , further comprising: receiving, from a client of the compute service, an updated version of a particular one of the one or more functions that did not satisfy the one or more criteria; and modifying the compute service to enable execution of the updated version of the particular function in the updated version of the execution environment. 11. The method as recited in claim 10 , further comprising: determining, based on one or more executions of the updated version of the particular function in the updated version of the execution environment, that the updated version of the particular function does satisfy t

Assignees

Inventors

Classifications

  • Selecting among different versions · CPC title

  • G06F8/65Primary

    Updates (security arrangements therefor G06F21/57) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11263000B2 cover?
An event-driven compute service upgrades an execution environment for registered functions of the compute service. Some compute nodes of the service have an updated version of the execution environment and some compute nodes have the old version of the execution environment. As a part of the upgrade process, some functions are executed in both environments. For example, for some invocations of …
Who is the assignee on this patent?
Amazon Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/44536. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 01 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).