CPC G06F 16/2454 (2019.01) [G06Q 30/0254 (2013.01)] | 20 Claims |
1. A method, implemented on a machine having at least one processor, storage, and a communication platform capable of connecting to a network for evaluating expressions, the method comprising:
obtaining an expression indicative of advertising criteria and metadata associated with the expression;
determining, based on a comparison of the metadata to previously stored metadata associated with an earlier version of the expression, whether the expression corresponds to a modified version of the earlier version of the expression;
in response to a determination that the expression is the modified version of the earlier version of the expression,
receiving, by a worker node of a forecasting cluster, a query,
if the query includes a definition of the modified expression,
evaluating, by the worker node, the modified expression based on the definition, to generate a forecast record predicting a future event,
if the query does not include the definition,
evaluating, by the worker node, the modified expression based on a stale expression associated with the modified expression, to generate the forecast record, and
causing, by the worker node, a worker node controller of the forecasting cluster to obtain the definition,
storing the definition in a cache of the worker node, and
sending the forecast record to a sever that is independent of the forecasting cluster; and
in response to a determination that the expression does not have a corresponding earlier version of expression,
invoking the server for evaluating the expression.
|