US 12,474,967 B2
Handling execution of a function
Zoltán Turányi, Szentendre (HU); Dániel Géhberger, Montreal (CA); Gabor Nemeth, Budapest (HU); Péter Mátray, Budapest (HU); and Balázs Pinczel, Budapest (HU)
Assigned to Telefonaktiebolaget LM Ericsson (Publ), Stockholm (SE)
Appl. No. 17/777,653
Filed by Telefonaktiebolaget LM Ericsson (publ), Stockholm (SE)
PCT Filed Nov. 21, 2019, PCT No. PCT/EP2019/082078
§ 371(c)(1), (2) Date May 18, 2022,
PCT Pub. No. WO2021/098962, PCT Pub. Date May 27, 2021.
Prior Publication US 2023/0033971 A1, Feb. 2, 2023
Int. Cl. G06F 9/50 (2006.01); H04L 67/1008 (2022.01)
CPC G06F 9/505 (2013.01) [H04L 67/1008 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for handling execution of a function in a function-as-a-service (FaaS) system, the method comprising:
notifying one or more nodes of the FaaS system serving a group of functions about an attachment of a function into a same node for which same data is to be accessed for execution of the function and at least one other function in the group; and
in response to a received trigger on a first node of the FaaS system for the execution of the function:
generating a token by performing processing of the received trigger, the function being attached to the trigger, the trigger including information about on which of the first node of the FaaS system and a second node of the FaaS system to execute the function, the token being indicative of a location of a subscriber of the FaaS system to which the same data is specific, and the token further being indicative of the same data to be accessed by the function and the at least one other function in the group of functions during the execution;
providing the generated token to the function; and
allocating execution of the function in one or more nodes by performing one or both of:
one or both of causing and establishing execution of the function on the first node of the FaaS system if the same data to be accessed for the execution is stored on the first node of the FaaS system; and
one or both of causing and establishing execution of the function on the second node of the FaaS system if the same data to be accessed for the execution is stored on the second node of the FaaS system;
the execution of the function being one or both of caused and established on the same node as the at least one other function in the group of functions based on the token.