Performance of function as a service
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsZoltán Turányi, Dániel Géhberger
Life of this patent
Estimating the term…
Abstract
A FaaS system comprises a plurality of execution nodes. A software package is received in the system, the software package comprising a function that is to be executed in the FaaS system. Data location information related to data that the function is going to access during execution is obtained. Based on the data location information, a determination is then made of an execution node in which the function is to be executed. The function is loaded into the determined execution node and executing in the determined execution node.
Claims18
A method performed by a function as a service, FaaS, system, said FaaS system comprising a plurality of execution nodes, the method comprising:
- receiving a software package comprising a function that is to be executed in the FaaS system,
- obtaining data location information related to data that the function is going to access during execution,
- determining, based on the data location information, an execution node in which the function is to be executed,
- loading the function into the execution node,
- executing the function in the execution node;
- and
- during the execution of the function, recording information regarding which keys the function uses during the execution,
- wherein the step of obtaining data location information comprises:
- retrieving information regarding which keys the function has used during previous executions,
- analyzing the retrieved information regarding which keys the function has used during previous executions, and
- querying a key-value store (KVS), using a result of the analysis, for the data location information.
A computer system comprising a plurality of server blades, each server blade comprising a processor and a memory, said memory containing instructions executable by said processor whereby said computer system is operative to:
- receive a software package comprising a function that is to be executed in the computer system
- obtain data location information related to data that the function is going to access during execution,
- determine, based on the data location information, a server blade in which the function is to be executed,
- load the function into the server blade,
- execute the function in the server blade;
- and
- during the execution of the function, record information regarding which keys the function uses during the execution;
- wherein the obtaining of data location information comprises:
- retrieving information regarding which keys the function has used during previous executions,
- analyzing the retrieved information regarding which keys the function has used during previous executions, and
- querying a key-value store (KVS), using a result of the analysis, for the data location information.
A non-transitory computer readable storage medium comprising instructions which, when executed by a function as a service, FaaS, system cause the FaaS system to:
- receive a software package comprising a function that is to be executed in the FaaS system,
- obtain data location information related to data that the function is going to access during execution,
- determine, based on the data location information, an execution node in which the function is to be executed,
- loading the function into the execution node,
- executing the function in the execution node;
- and
- during the execution of the function, recording information regarding which keys the function uses during the executions;
- wherein the step of obtaining data location information comprises:
- retrieving information regarding which keys the function has used during previous executions,
- analyzing the retrieved information regarding which keys the function has used during previous executions, and
- querying a key-value store (KVS), using a result of the analysis, for the data location information.
Dependencies are inferred from the claim text.