You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wojciech Sobczuk <wo...@brandlay.com> on 2005/02/09 00:18:52 UTC
Running heavily loaded tomcat sites.
Hello,
I have collected my experiences with running a heavily loaded (and soon
to be high availability) tomcat setup in a paper available here:
http://brandlay.com/wojtek/publ/tomcat.jsp
Have a look if you're interested and please email any comments directly
to my email.
Thanks!
--
Wojciech Sobczuk
wojtek@brandlay.com
+48 605 607 170
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Running heavily loaded tomcat sites.
Posted by George Sexton <gs...@mhsoftware.com>.
You are really just starting document the issues necessary for running a
high volume site.
The URL
http://www.mhsoftware.com/resources/top10asp.html
Has some things that are IIS specific, but also apply to Tomcat
applications:
Specifically:
Store as little as possible on the session. I'm working on an app right now,
where the author decided storing the db connection on the session was the
way to go.
Watch contention.
Use an automated code analysis tool like PMD or Findbugs to eliminate bad
and redundant code. PMD will detect things like string concatenation in
loops, using string concatenation in StringBuffer.append() methods, and
other non-optimal techniques.
Stress test using a tool like Jmeter.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -----Original Message-----
> On Wed, 09 Feb 2005 00:18:52 +0100, Wojciech Sobczuk
> <wo...@brandlay.com> wrote:
> > Hello,
> >
> > I have collected my experiences with running a heavily
> loaded (and soon
> > to be high availability) tomcat setup in a paper available here:
> > http://brandlay.com/wojtek/publ/tomcat.jsp
> > Have a look if you're interested and please email any
> comments directly
> > to my email.
> >
> > Thanks!
> >
> > --
> > Wojciech Sobczuk
> > wojtek@brandlay.com
> > +48 605 607 170
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Running heavily loaded tomcat sites.
Posted by sudip shrestha <su...@gmail.com>.
It was good to read your paper. I was wondering why ReiserFS is
suitable for webapps that you are hosting.
On Wed, 09 Feb 2005 00:18:52 +0100, Wojciech Sobczuk
<wo...@brandlay.com> wrote:
> Hello,
>
> I have collected my experiences with running a heavily loaded (and soon
> to be high availability) tomcat setup in a paper available here:
> http://brandlay.com/wojtek/publ/tomcat.jsp
> Have a look if you're interested and please email any comments directly
> to my email.
>
> Thanks!
>
> --
> Wojciech Sobczuk
> wojtek@brandlay.com
> +48 605 607 170
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Running heavily loaded tomcat sites.
Posted by Thomas Chille <th...@gmail.com>.
> For me it refuses to open under IE6 but FF works perfectly fine - no
> passwords required.
closing the <title>-tag in html-source make it readable on ie6 too ...
lg t
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Running heavily loaded tomcat sites.
Posted by Graham Reeds <gr...@ntlworld.com>.
> I'm interested in reading your paper, but the link you provided requires
> a userid and password
For me it refuses to open under IE6 but FF works perfectly fine - no
passwords required.
G.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Running heavily loaded tomcat sites.
Posted by Harry Mantheakis <ha...@mantheakis.freeserve.co.uk>.
The 'LD_ASSUME_KERNEL' setting was needed with Red Hat 9. I'm on FC3 now and
it seems to be working fine *without* having to specify LD_ASSUME_KERNEL.
Actually, I could swear (though I have no metrics) that FC3 is running my
Java stuff much faster than RH9 did with a forced LD_ASSUME_KERNEL setting.
Your suggestion to avoid using the Java 'new' keyword is interesting, and I
believe I know what you're getting at - but I think you should expand on it,
perhaps with some specific pointers. It seems to leave too much to the
imagination at the moment :-)
As an example, in my application all the 'action objects' that handle
requests are singletons - instantiated at start-up, and handed out as needed
at runtime. But you have to be careful with that approach - instance
variables are a complete no-no.
HTH
Harry Mantheakis
> Hello,
>
> I have collected my experiences with running a heavily loaded (and soon
> to be high availability) tomcat setup in a paper available here:
> http://brandlay.com/wojtek/publ/tomcat.jsp
> Have a look if you're interested and please email any comments directly
> to my email.
>
> Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Running heavily loaded tomcat sites.
Posted by DAVID TURNER <DT...@nhbb.com>.
I'm interested in reading your paper, but the link you provided requires a
userid and password
Wojciech Sobczuk <wo...@brandlay.com>
02/08/2005 06:18 PM
Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>
To
tomcat-user@jakarta.apache.org
cc
Subject
Running heavily loaded tomcat sites.
Hello,
I have collected my experiences with running a heavily loaded (and soon
to be high availability) tomcat setup in a paper available here:
http://brandlay.com/wojtek/publ/tomcat.jsp
Have a look if you're interested and please email any comments directly
to my email.
Thanks!
--
Wojciech Sobczuk
wojtek@brandlay.com
+48 605 607 170
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OT] Re: Compression in the server.xml
Posted by Remy Maucherat <re...@gmail.com>.
On Wed, 09 Feb 2005 06:31:07 -0500, Tim Funk <fu...@joedog.org> wrote:
> No. They are written in 2 different languages and have 2 different purposes.
Indeed. Integration will improve, though (the Apache/Tomcat connector
will be bundled in Apache and will be compatible with all the other
module combination (such as cache + ssl + gzip).
--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [OT] Re: Compression in the server.xml
Posted by Tim Funk <fu...@joedog.org>.
No. They are written in 2 different languages and have 2 different purposes.
-Tim
Graham Reeds wrote:
> Tim Funk wrote:
>
>> Compression is useless if you use apache in front of tomcat.
>
>
> Do you think that there will be a merging of Tomcat and Apache in the
> future?
>
> Random speculation appreciated.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
[OT] Re: Compression in the server.xml
Posted by Graham Reeds <gr...@ntlworld.com>.
Tim Funk wrote:
> Compression is useless if you use apache in front of tomcat.
Do you think that there will be a merging of Tomcat and Apache in the
future?
Random speculation appreciated.
G.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Compression in the server.xml
Posted by Tim Funk <fu...@joedog.org>.
Compression is useless if you use apache in front of tomcat.
Look into mod_gzip and make sure the option for zipping chunked data in
mod_gzip is turned on.
-Tim
Randy Paries wrote:
> Could some one explain the downsides of setting compression="on" in the
> server.xml
>
> I have a web app that averages 2 million hits aday.
>
> The static and images are handled using apache.
>
> I am trying to understand what the compression setting is used for in the
> server.xml and what are the ramifications.
>
> I found out about the setting reading "
> http://brandlay.com/wojtek/publ/tomcat.jsp " that was on the list earlier
> today.
>
> any bandwidth I can save would be great
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Compression in the server.xml
Posted by Randy Paries <ra...@unitnet.com>.
Could some one explain the downsides of setting compression="on" in the
server.xml
I have a web app that averages 2 million hits aday.
The static and images are handled using apache.
I am trying to understand what the compression setting is used for in the
server.xml and what are the ramifications.
I found out about the setting reading "
http://brandlay.com/wojtek/publ/tomcat.jsp " that was on the list earlier
today.
any bandwidth I can save would be great
Thanks for the patience
Randy
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org