Hi, I am planning to use Drools Fusion in a monitoring application, but I have some performance and fault-tolerance issues.
The idea is to monitor if some measurements are within a parameter defined on a baseline. The baselines themselves are calculated based on previous measurements. For example, I want to monitor if a measurement is close to the average of previous measurements at the same weekday. My worry is that the volume of measurements is very high, and I need the average of the measurements over a long period of time. Clearly, I see that it would be better to use the average of the whole set of measurements (instead of the average of a sliding window, or setting an expiration for the events) and calculate the averages in an online fashion, so as not to keep the measurements in memory. I want to know if Drools Fusion accumulate functions work that way, or if I need to retract the events myself. Another question is: if, for some reason, I have to stop the monitoring application, will Drools Fusion automatically keep track of its internal state? In the previous example, would I have to provide myself a way to save the averages on disk, or Drools Fusion would take care of it? I didn't see anything like that on the documentation. Thanks for any help, Murilo -- View this message in context: http://drools.46999.n3.nabble.com/questions-about-Drools-Fusion-perfomance-tp3353426p3353426.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users