[rules-users] questions about Drools Fusion perfomance

Murilo Lima mslima at nic.br
Tue Sep 20 17:05:14 EDT 2011


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.



More information about the rules-users mailing list