JESS: again: jess-performance

2004-08-03 Thread Marcus Schlappa
Hello Ernest, Here's where the problem lies. The one-engine/one-user architecture is inherently inefficient. The simplest change that would improve things would be to still use one engine per user, but as you suggest, cache the engines with the rules loaded. A (reset) before each user would be

Re: JESS: again: jess-performance

2004-08-03 Thread ejfried
I think Marcus Schlappa wrote: To save time for building the rete network each time, I'd like to cache the engine state with the rules already loaded as you said before ... 1) At application startup, create a bunch of jess.Rete objects. 2) Load the rules into each one. 3) Store them in

Re: JESS: again: jess-performance

2004-08-03 Thread James Owen
I did that once. Long, long ago in a land far, far away. A place called VEA at FedEx. Virtual Enterprise Architecture. A time before J2EE. J2EE solved the problem that I had solved way back then using the pre-alpha version of Advisor, now called Blaze Advisor. By the time you get through with

Re: JESS: again: jess-performance

2004-07-30 Thread ejfried
I think Marcus Schlappa wrote: Hello, How can i cache the engine with the rules loaded? Do you mean the jess-commands bload and bsave? By engine we mean a single instance of the jess.Rete class. You can create as many instances of this class as you wish, and load each one with rules.