On 12/08/2013, IK81 <ml(a)kofler.me> wrote:
I don't think that the synchronization is a problem. I don't
want to use a
dedicated thread that runs the fireUntilHalt method but rather trigger the
engine externally. So I can decide if it's time to make a new snapshot or
not. So I can avoid to find the engine in an inconsistent state. I also
plan
to provide the clock from an external source instead of relying on the
system time to achieve a deterministic behavior when replaying the events.
What do you exactly mean with "Saving every so many, and synced with,
insertions might be an
alternative,"?
Save every N insertions. They may not be spaced evenly over time, so
saving more than once in a lull is useless.
-W
Ingo
--
View this message in context:
http://drools.46999.n3.nabble.com/Snapshot-of-drools-engine-s-state-tp402...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users