Patent ID: 9152668
Filing Date: 2015-10-06
Classification: G06F

Abstract:
1. A method comprising: receiving an input in a web application to trigger execution of one or more functions; in response to receiving the input, traversing each executed function and its dependent functions analysing the functions and the dependent functions to identify at least two independent referentially transparent functions that are executable with necessary data, and that have not yet executed; and analysing the at least two identified independent referentially transparent functions to determine the necessary data that will be used by the identified at least two independent referentially transparent functions in the course of their execution; recursively continuing the acts of analysing to identify and analysing to determine at least until the act of analysing to determine determines that either, in response to determining that no more necessary data can be determined for the at least two identified referentially transparent functions without fetching or that no more data is necessary for the at least two identified referentially transparent functions, issuing an asynchronous computation batch query to a database server for the determined necessary data so as to aggregate the necessary data of the independent referentially transparent functions; wherein the necessary data comprises data used in all branches of a branch statement when the branch statement is not evaluated; receiving the necessary data; and executing the at least two independent referentially transparent functions in parallel using the received necessary data.