You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jamie M <ja...@yahoo.com> on 2002/07/12 16:00:37 UTC

RE: where can caching help performance

Out of curiosity, how did you implement the in-memory
cache?  One big (1 gig!) hashmap :-) or something more
exotic?

--
jamie

-----Original Message-----
From: Simon.Chappell
[mailto:Simon.Chappell@landsend.com]
Sent: Thursday, July 11, 2002 4:07 PM
To: struts-user
Subject: RE: where can caching help performance?


We have found that the biggest bang for the buck comes
with pre-fetching 
data out of the database and building our business
objects ahead of time 
and storing them in an in-memory cache. This means
that we have a very 
large cache (we estimate at least a gig when we get
fully ramped up for 
phase one and more after that), but we get phenominal
throughput from 
it. Our reason for this was a maximum processing time
of 3.6 seconds and 
we knew that we could not allow the database access to
be the choke 
point in the system.

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>