The guideline I use is...

Prioritize Use-Cases based on R/W, Frequency

Try to optimize the the most frequent Use-Cases


Test/Profile you app; often this leads to the following,

Optimize database queries since I often find this to be the bottleneck.
        - Cache objects if you can in memory to avoid DB Queries
        - Add proper indexes to queries
        - Do more work within the database if you can
        - Batch TXNs

Use less Java objects,right collection types, algorithms.

I wonder how much of a performance boost tweaking Tomcat will achieve.
I rather not spend time trying to boost Tomcat, unless I absolutely have
to.








-----Original Message-----
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 9:28 AM
To: Tomcat Users List
Subject: Re: Tomcat Scalability


one more note. Persistence is the only effective tool
for high performance! No amount of money or talent can
beat persistence when it comes to making sure your
website works reliably and responds within a set time.

peter


--- Tim Funk <[EMAIL PROTECTED]> wrote:
> Scability/Perfomance/Memory was talked about many
> times in the past. I 
> am still digging up good threads/sites with respect
> to the FAQ, but here 
> is what I have so far, each page has links to the
> appropriate discussion 
> thread in the tomcat-user lists.
> 
> Performace:
> http://tomcatfaq.sourceforge.net/performance.html
> Memory: http://tomcatfaq.sourceforge.net/memory.html
> Monitoring:
> http://tomcatfaq.sourceforge.net/monitoring.html
> 
> -Tim
> 
> Jon Roberts wrote:
> > But seriously, I'm interested in hearing how
> Tomcat can scale, too. It 
> > seems like there is an awful lot loaded into
> memory when it's launched, 
> > and all my stack traces produce an impressively
> long chain of method 
> > calls: can this be mitigated?
> > 
> > Jon Roberts
> > www.mentata.com
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to