Function execution environment selection for decomposed application

US11748162B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11748162-B2
Application numberUS-202016735195-A
CountryUS
Kind codeB2
Filing dateJan 6, 2020
Priority dateJan 6, 2020
Publication dateSep 5, 2023
Grant dateSep 5, 2023

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.

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.

First claim

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

Assignees

Inventors

Classifications

  • G06F9/5027Primary

    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

  • G06F9/5077Primary

    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

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 US11748162B2 cover?
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 o…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F9/5027. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 05 2023 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 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).