caching
caching
- Subject: caching
- From: Mike Schrag <email@hidden>
- Date: Wed, 11 May 2005 13:22:04 -0400
So I have a case where one of my EO's has a unique key which can't be the primary key (it's changeable), but it is effectively the primary key (that is, the EO is almost always looked up by that key). I end up very frequently doing a qualifier on that field. What is the recommended way to avoid hitting the database constantly for these things? I would love to turn on Cache in Memory, but we saw where that led me on the last situation (Incidentally, i tried it again on this EO and it fails in the same way, which is to say, it does nothing :) ). So what I really want here is a most-recently-used cache mapped by the unique key. However, properly implementing this without stepping on EOF's toes appears that it might be really tricky (these EO's get updated and are referenced by and from other EO's). Any suggestions or anyone run into a similar problem?
ms |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden