On Jun 6, 2007, at 3:13 PM, Andrei Boutyline wrote:
Does this not create a problem with response time?
It depends, of course. If it does cause problems, then you could simply do something else. This is just one example program, after all! People have indeed used pooling of various kinds; no problem with that.
On a related note, is it possible to deep clone a Rete object? That is, instead of loading all the rules in every Rete object, maintain a clean instance and clone it?
You can serialize/deserialize, but that's slower than simply reloading the rules, and it saves no memory. In Jess 7.1 (which just entered public alpha testing) there's the new concept of "peering", which means that multiple rule engines can share a single network of compiled rules quickly and efficiently. Check it out!
--------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------