CPC H04L 41/082 (2013.01) [H04L 67/34 (2013.01)] | 20 Claims |
1. A method performed by a node that is associated with a distributed system comprising a set of distributed nodes arranged to execute a plurality of functions of a program, the method comprising:
obtaining an execution pattern of the program and respective sleep requirements of at least one distributed node;
determining respective sleep patterns of the at least one distributed node based on the respective sleep requirements;
dynamically deploying one or more functions of the program to all or a portion of the set for execution of the program by the set based on the execution pattern of the program and the respective sleep requirements of the at least one distributed node, wherein the execution pattern is associated with events that trigger execution of at least one of the one or more functions, with each distributed node being operable to have the trigger events programmed for that at least one function during deployment or execution of the program; and
adapting the determined sleep pattern of at least one distributed node based on the execution pattern associated with the events that trigger execution of the at least one of the one or more functions.
|