Function as a service (faas) system enhancements
US-2021263779-A1 · Aug 26, 2021 · US
US11748162B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11748162-B2 |
| Application number | US-202016735195-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 6, 2020 |
| Priority date | Jan 6, 2020 |
| Publication date | Sep 5, 2023 |
| Grant date | Sep 5, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Techniques for function execution environment selection for a decomposed application are provided. In one example, an apparatus comprises at least one processing platform configured to execute a portion of an application program in a first virtual computing element, wherein the application program comprises one or more portions of marked code, receive a request for execution of one of the one or more portions of marked code, decide whether to execute the portion of marked code identified in the request in the first virtual computing element or in a second virtual computing element, determine an execution environment from one or more execution environments specified in the marked code for the second virtual computing element to execute the marked code, when it is decided to execute the portion of the marked code in the second virtual computing element, and cause the portion of marked code identified in the request to be executed.
Opening claim text (preview).
What is claimed is: 1. An apparatus comprising: at least one processing platform comprising one or more processing devices; said at least one processing platform being configured to: execute a portion of an application program in a first virtual computing element, wherein the application program is decomposed into functions and comprises one or more portions of marked code, the marked code comprising a given function to run in a separate execution environment from the rest of the application program and an environment selection code marker to specify a plurality of execution environments where to execute the given function of the marked code, wherein the plurality of execution environments specified in the marked code comprise a plurality of different pre-configured execution environments for code execution; receive a request for execution of one of the one or more portions of marked code; decide whether to execute the portion of marked code identified in the request in the first virtual computing element or in a second virtual computing element; determine an execution environment from the plurality of execution environments specified in the environment selection code marker of the marked code for the second virtual computing element to execute the marked code, when it is decided to execute the portion of the marked code in the second virtual computing element; and execute the portion of marked code identified in the request; wherein the processing platform is further configured to determine an execution environment from the plurality of execution environments specified in the marked code by: evaluating at least one selection criterion for the plurality of execution environments and selecting an execution environment based on the evaluation; and wherein evaluating at least one selection criterion for the plurality of execution environments comprises: considering a remaining budget from a given quota for a first one of the execution environments; and selecting the first execution environment as the execution environment for the second virtual computing element to execute the marked code when sufficient remaining budget exists for the first execution environment. 2. The apparatus of claim 1 , wherein the processing platform is further configured to evaluate at least one selection criterion for the plurality of execution environments by: considering a remaining budget from the given quota for at least a second one of the execution environments when insufficient remaining budget exists for the first execution environment; and selecting the second execution environment as the execution environment for the second virtual computing element to execute the marked code when sufficient remaining budget exists for the second execution environment. 3. The apparatus of claim 1 , wherein the processing platform is further configured to evaluate at least one selection criterion for the plurality of execution environments by: defaulting to the first virtual computing element to execute the portion of the marked code when the plurality of execution environments specified in the marked code fail to satisfy the at least one selection criterion. 4. The apparatus of claim 1 , wherein the plurality of execution environments specified in the marked code are evaluated based on a given order. 5. The apparatus of claim 1 , wherein the plurality of execution environments further comprise one or more execution environments specifically configured to accommodate one or more execution criteria. 6. The apparatus of claim 5 , wherein the one or more execution criteria comprise one or more of compute-optimized execution, memory-optimized execution, storage-optimized execution, accelerator-optimized execution, general-purpose execution, and isolated execution. 7. The apparatus of claim 1 , wherein the processing platform is further configured to cause the portion of marked code identified in the request to be executed by managing orchestration of the execution of the portion of the marked code within a selected one of the plurality of execution environments. 8. The apparatus of claim 1 , wherein the processing platform is further configured to access a service broker to obtain credentials for a selected one of the plurality of execution environments. 9. The apparatus of claim 1 , wherein each of the one or more portions of marked code are marked by a function wrapper or an annotation. 10. The apparatus of claim 1 , wherein the one or more portions of marked code comprise one or more application functions. 11. The apparatus of claim 1 , wherein the first virtual computing element is a first container and the second virtual computing element is a second container remote from the first container. 12. The apparatus of claim 1 , wherein the processing platform comprises a controller module, one or more interceptor modules, one or more remote handler modules, and a function registry module. 13. A method comprising: executing a portion of an application program in a first virtual computing element, wherein the application program is decomposed into functions and comprises one or more portions of marked code, the marked code comprising a given function to run in a separate execution environment from the rest of the application program and an environment selection code marker to specify a plurality of execution environments where to execute the given function of the marked code, wherein the plurality of execution environments specified in the marked code comprise a plurality of different pre-configured execution environments for code execution; receiving a request for execution of one of the one or more portions of marked code; deciding whether to execute the portion of marked code identified in the request in the first virtual computing element or in a second virtual computing element; determining an execution environment from the plurality of execution environments specified in the environment selection code marker of the marked code for the second virtual computing element to execute the marked code, when it is decided to execute the portion of the marked code in the second virtual computing element; and executing the portion of marked code identified in the request; wherein the step of determining an execution environment from the plurality of execution environments specified in the marked code further comprises: evaluating at least one selection criterion for the plurality of execution environments and selecting an execution environment based on the evaluation; wherein evaluating at least one selection criterion for the plurality of execution environments comprises: considering a remaining budget from a given quota for a first one of the execution environments; and selecting the first execution environment as the execution environment for the second virtual computing element to execute the marked code when sufficient remaining budget exists for the first execution environment; and wherein the steps are performed by at least one processing platform comprising one or more processing devices. 14. The method of claim 13 , wherein the step of evaluating at least one selection criterion for the plurality of execution environments further comprises: considering a remaining budget from the given quota for at least a second one of the execution environments when insufficient remaining budget exists for the first execution environment; selecting the second execution environment as the execution environment for the second virtual computing element to execute the marked code when sufficient remaining budget exists for the second execution environment; and de
the resource being a machine, e.g. CPUs, Servers, Terminals · CPC title
Hypervisor-specific management and integration aspects · CPC title
Network integration; Enabling network access in virtual machine instances · CPC title
Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455) · CPC title
Distribution of virtual machine instances; Migration and load balancing · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.