Re: Clearing the application's object cache

2006-08-03 Thread Robert Walker
Ricardo,I have no idea how complex your calculations are or how long you process take to run, but I have a couple of suggestions that might help.1. If your calculation don't involve relational data then you can gain considerable speed, and lower memory footprint, by using raw row fetching.2. If you

Re: Clearing the application's object cache

2006-08-03 Thread Ken Anderson
On Aug 3, 2006, at 3:43 PM, Ricardo Parada wrote:Great responses and I'm getting some ideas Here's some more details:Here's a simplistic view of how my process should work:1. Wait for work a request to arrive2. Read the EOs needed to process the work request3. Perform calculations for the work

Re: Clearing the application's object cache

2006-08-03 Thread Ricardo Parada
Great responses and I'm getting some ideas Here's some more details:Here's a simplistic view of how my process should work:1. Wait for work a request to arrive2. Read the EOs needed to process the work request3. Perform calculations for the work request4. Save changes5. Invalidate the applicati

Re: Clearing the application's object cache

2006-08-03 Thread Mike Schrag
See also http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/ Using_EOF/Caching_and_Freshness ms On Aug 3, 2006, at 12:40 PM, Paul Lynch wrote: On 3 Aug 2006, at 17:21, Ricardo Parada wrote: If I create an editing context, then read some EOs into memory. Then I throw away the editing

Re: Clearing the application's object cache

2006-08-03 Thread Paul Lynch
On 3 Aug 2006, at 17:21, Ricardo Parada wrote: If I create an editing context, then read some EOs into memory. Then I throw away the editing context by assigning null to the variable referencing the editing context. Then I create a new editing context and read the same EOs into memory.

Re: Clearing the application's object cache

2006-08-03 Thread Ken Anderson
On Aug 3, 2006, at 12:21 PM, Ricardo Parada wrote:If I create an editing context, then read some EOs into memory.  Then I throw away the editing context by assigning null to the variable referencing the editing context.Then I create a new editing context and read the same EOs into memory.  Will the

Clearing the application's object cache

2006-08-03 Thread Ricardo Parada
If I create an editing context, then read some EOs into memory.  Then I throw away the editing context by assigning null to the variable referencing the editing context.Then I create a new editing context and read the same EOs into memory.  Will the EOs have the same data as the ones read into memo