[rules-users] Snapshot of drools engine's state

Wolfgang Laun wolfgang.laun at gmail.com
Mon Aug 12 04:58:29 EDT 2013


On 12/08/2013, IK81 <ml at 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-tp4025457p4025464.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list