Handling execution of functions
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsDániel Géhberger, Zoltán Richárd Turányi, Roch Glitho, Mohammad Abu Lebdeh
Life of this patent
Estimating the term…
Abstract
There is provided a method performed by an entity for handling execution of functions in a function-as-a-service (FaaS) system. The FaaS system includes one or more nodes on which functions are executable. The method includes grouping functions into a group of functions to be executed on a single one of the one or more nodes. The grouping is based on information from the one or more nodes. The information is indicative of which functions access which data during execution of the functions and each function of the group accesses the same data as at least one other function of the group.
Claims18
A method performed by an entity for handling execution of functions in a function-as-a-service, FaaS, system, the FaaS system comprising one or more nodes on which functions are executable, the method comprising:
- initiating, by the entity, movement of one or more functions of a group of functions to a single one of the one or more nodes such that each function of the group of functions executes on the single one of the one or more nodes, wherein each function of the group accesses the same data as at least one other function of the group;
- determining, after a timer signals that a predefined time period has elapsed since a grouping of the functions onto the single one of the one or more nodes, if during the predefined time period, a function of the group of functions fails to access the same data as at least one other function of the group;
- where the respective function has not accessed the same data as at least one other function of the group, removing the function from the group;
- where a function from one of at least two existing groups of functions accesses the same data as at least one function from another of the at least two existing groups of functions, initiating, by the entity, movement of one or more functions comprising merging the at least two existing groups of functions into the group of functions to be executed on the single one of the one or more nodes, and
- wherein each function is grouped into the group of functions with one or more triggers, wherein the function is executable in response to the one or more triggers.
An entity for handling execution of functions in a function-as-a-service, FaaS, system, the FaaS system comprises one or more nodes on which functions are executable, the entity comprising:
- processing circuitry configured to:
- initiate movement of one or more functions of a group of functions to a single one of the one or more nodes such that each function of the group of functions executes on the single one of the one or more nodes, wherein each function of the group accesses the same data as at least one other function of the group;
- determine, after if a timer signals that a predefined time period has elapsed since a grouping of the functions onto the single one of the one or more nodes, if during the predefined time period, a function of the group of functions fails to access the same data as at least one other function of the group;
- and where the respective function has not accessed the same data as at least one other function of the group, remove the function from the group;
- if a function from one of at least two existing groups of functions accesses the same data as at least one function from another of the at least two existing groups of functions, initiating, by the entity, movement of one or more functions comprises:
- merging the at least two existing groups of functions into the group of functions to be executed on the single one of the one or more nodes, and
- wherein each function is grouped into the group of functions with one or more triggers, wherein the function is executable in response to the one or more triggers.
Dependencies are inferred from the claim text.