Tue, 24 Aug 04
OJB and object caching, pt II
Well, I was wrong, when I posted that OJB rc4 didn’t support caching. Because of the way the application is architected, there are two places where we grab data from the database. I know, I know, don’t repeat yourself. But when you’re using free JAAS modules and free O/R mapping tools, you can’t be too picky.
The upshot is, when I actually look at SQL statements for a typical two user session, I see 21 of a certain select statement for when caching using the org.apache.ojb.broker.cache.ObjectCacheEmptyImpl class, and only 6 when performing exactly the same user actions with the org.apache.ojb.broker.cache.ObjectCacheDefaultImpl class. Don’t ask me why it’s not a 2 to 1 ratio; I’m looking into it. (Deep are the ways of object caching.)
« Wireheads and depression | Permalink | Book Review: Dancing with Cats »
Cruises said,
April 12, 2005 at 9:37 am
Discount Cruises
Blood Pressure said,
April 13, 2005 at 8:48 pm
blood pressure