I think mdean77 wrote: > > I have seen some notes on this server that you can have multiple > engines, but I guess I am confused about whether I should have > multiple Rete objects, or multiple parsers, or what. I could just > set up a globally accessible Rete and Jesp object, and then reset the > Rete. > > Why would we want multiple engines?
Two reasons, along different "axes." If you have a multiprocessor machine, or are serving multiple clients in an I/O bound situation, then using a pool of Rete objects, all running the same rulebase, can be convenient. Any time that the workload is parallelizable, basically, you can do this. The other situation is when you have multiple different rulebases -- for example, different cooperating "agents" -- and running them each in a separate engine and letting them communicate makes the programming simpler. --------------------------------------------------------- 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://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------
