RE: where can caching help performance

2002-07-12 Thread Chappell, Simon P
alist www.landsend.com Lands' End, Inc. (608) 935-6932 >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >Sent: Friday, July 12, 2002 10:56 AM >To: [EMAIL PROTECTED] >Subject: RE: where can caching help performance

RE: where can caching help performance

2002-07-12 Thread wbchmura
, July 12, 2002 11:22 AM To: struts-user Subject: RE: where can caching help performance And to continue my obviously inadequate and lame answer ... Disclaimer: I didn't write the code, I just asked that it be written like this (i.e. I drove the logical design) ... these are the perils of be

RE: where can caching help performance

2002-07-12 Thread Chappell, Simon P
nly part of the system that knows what it's doing as far as creating, updating and purging cached business objects. Simon >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >Sent: Friday, July 12, 2002 10:15 AM >To: [EMAIL PROTECTED] >Subject:

RE: where can caching help performance

2002-07-12 Thread wbchmura
: Friday, July 12, 2002 10:53 AM To: struts-user Subject: RE: where can caching help performance We have a servlet that starts up at app server initialisation and it's init method starts our background caching thread and it's finalize method stops it. This way the cache is always in

RE: where can caching help performance

2002-07-12 Thread Chappell, Simon P
rom: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >Sent: Friday, July 12, 2002 9:12 AM >To: [EMAIL PROTECTED] >Subject: RE: where can caching help performance > > > >This may be a dumn question, but since its friday what the heck... > >If I wanted to build a bunch of busine

RE: where can caching help performance

2002-07-12 Thread Chappell, Simon P
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

RE: where can caching help performance

2002-07-12 Thread Jerome Jacobsen
EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:12 AM To: [EMAIL PROTECTED] Subject: RE: where can caching help performance This may be a dumn question, but since its friday what the heck... If I wanted to build a bunch of business objects when the server starts and keep them as singletons or fa

RE: where can caching help performance

2002-07-12 Thread wbchmura
request finished the object would be cleaned up... ? -Original Message- From: jamienz [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:01 AM To: struts-user Subject: RE: where can caching help performance Out of curiosity, how did you implement the in-memory cache? One big (1

RE: where can caching help performance

2002-07-12 Thread Jamie M
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:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:07 PM To: struts-user Subject: RE: where can caching help

RE: where can caching help performance?

2002-07-12 Thread Jon.Ridgway
introduce a bottleneck... Jon Ridgway -Original Message- From: Steinar Bang [mailto:[EMAIL PROTECTED]] Sent: 12 July 2002 12:43 To: [EMAIL PROTECTED] Subject: Re: where can caching help performance? >>>>> "Jon.Ridgway" <[EMAIL PROTECTED]>: > Judicious use

Re: where can caching help performance?

2002-07-12 Thread Steinar Bang
> "Jon.Ridgway" <[EMAIL PROTECTED]>: > Judicious use of the Singleton pattern can also speed performance. How so? I would have thought singletons may introduce bottlenecks...? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: where can caching help performance?

2002-07-12 Thread Jon.Ridgway
Hi Jamie, Even when using Struts there is nothing stopping you writing a custom tag lib to do a db lookup for your portals content, based I guess upon a user preference held in the session/request. You could then use the caching tags you describe. Also remember that most dbs have very good conf

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
;Sent: Thursday, July 11, 2002 4:14 PM >To: Struts Users Mailing List >Subject: RE: where can caching help performance? > > >on the topic of cache freshness, one idea that I >thought was interesting was something IBM was >reportedly doing for the Olympics (or some other very >hi

RE: where can caching help performance?

2002-07-11 Thread Jamie M
on the topic of cache freshness, one idea that I thought was interesting was something IBM was reportedly doing for the Olympics (or some other very high-traffic) website. Changes to the data in the database triggered messages to the cache to invalidate certain cached objects. This removes then

RE: where can caching help performance?

2002-07-11 Thread Jacob Hookom
-Original Message- From: Jamie J [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:51 PM To: [EMAIL PROTECTED] Subject: where can caching help performance? What approaches do people use to speed up such apps? Is caching really only an option in the model, rather than the view?

RE: where can caching help performance?

2002-07-11 Thread wbchmura
Pretty good thanks! -Original Message- From: Simon.Chappell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:41 PM To: struts-user Subject: RE: where can caching help performance? Bill, There are no docs that I know of to point you at. We designed this ourselves when we

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
>From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >Sent: Thursday, July 11, 2002 3:27 PM >To: [EMAIL PROTECTED] >Subject: RE: where can caching help performance? > > > >Hi Simmon, > >Can you point me at any docs on building the objects ahead of time and >caching

RE: where can caching help performance?

2002-07-11 Thread wbchmura
Hi Simmon, Can you point me at any docs on building the objects ahead of time and caching them? Thanks Bill -Original Message- From: Simon.Chappell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 4:07 PM To: struts-user Subject: RE: where can caching help performance? We

RE: where can caching help performance?

2002-07-11 Thread Chappell, Simon P
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