You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Anecito, Anthony (HQP)" <To...@rhi.com> on 2003/02/06 18:49:54 UTC

Tomcat Performance Concerns

Hi All,

I am looking at Tomcat for production and seeing some things that make me
question its use for production. I believe what Jakarta group is doing is a
great thing for all of us looking for cheaper alternatives but there is may
be a serious issue to using Tomcat. I have seen and now read concern about
Tomcat's performance. I found an interesting tidbit in a newsgroup about
Tomcat performance and a reference to some benchmarks. The benchmarks were
done in 2001 and are out of date but even today I still hear of concerns
regarding Tomcat performance and even my peers are saying it is a "reference
implementation only". The links are as follows:

http://groups.google.com/groups?q=performance+vs+tomcat+weblogic+websphere&h
l=en&lr=&ie=UTF-8&scoring=d&selm=HOEFIONAHHKFEFENBMNOAEPPCBAA.rsanford%40nol
imitsystems.com&rnum=4

http://www.orionserver.com/benchmarks/benchmark.html



If anyone knows of some more up to date information regarding this issue
please let me know. I would really appreciate the feedback!

Re: Tomcat Performance Concerns

Posted by Bill Barker <wb...@wilshire.com>.
"Anecito, Anthony (HQP)" <To...@rhi.com> wrote in message
news:00A851B1D52D3940B03DE868CCF0E6140379AB3F@HQPEX006.corp.rhalf.com...
> Hi All,
>
> I am looking at Tomcat for production and seeing some things that make me
> question its use for production. I believe what Jakarta group is doing is
a
> great thing for all of us looking for cheaper alternatives but there is
may
> be a serious issue to using Tomcat. I have seen and now read concern about
> Tomcat's performance. I found an interesting tidbit in a newsgroup about
> Tomcat performance and a reference to some benchmarks. The benchmarks were
> done in 2001 and are out of date but even today I still hear of concerns
> regarding Tomcat performance and even my peers are saying it is a
"reference
> implementation only". The links are as follows:
>
>
http://groups.google.com/groups?q=performance+vs+tomcat+weblogic+websphere&h
>
l=en&lr=&ie=UTF-8&scoring=d&selm=HOEFIONAHHKFEFENBMNOAEPPCBAA.rsanford%40nol
> imitsystems.com&rnum=4
>
> http://www.orionserver.com/benchmarks/benchmark.html
>

If you actually read this page, then you will see that they tested against
TC 3.1.  I don't even think that this was the most current release in 2001.
TC 4.1 and even 3.3 run circles around 3.1 in terms of performance.  This
data is hopelessly out of date (and like John implied, probably was when it
was first published).

I don't seem to have it here, but at one point I had a link showing that
Tomcat was very competitive with commercial servers.  I'll look to see if I
can find it tomorrow.  Of course, as someone else pointed out, the only
benchmark that counts is yours ;-).

>
>
> If anyone knows of some more up to date information regarding this issue
> please let me know. I would really appreciate the feedback!
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat Performance Concerns

Posted by Peter Lin <tc...@yahoo.com>.
I've been running a ton of benchmarks the last 3 weeks
for the Tomcat Performance book with Remy.
General questions like that are very hard to answer.
Most performance issues are the result of bad design
and poor administration.

If some one is telling you "tomcat can't perform."
they need to back it up with numbers. I'm assuming
this is for an existing site, so you should have some
web access logs to look at.  If you're asking, "Can
tomcat handle 1000 requests/second?" I would say it
depends on the hardware, setup and the page. If it's a
static page, then I would say depends on the hardware.
But here's the catch.  How many of those requests are
for images? and how many page views does that equal?

I can gaurantee that unless your Yahoo who gets
1.5billion page views a day, you're not going to get
1000 page views a second. Based on the recent
presentation at PHPCon by a yahoo staff member, their
average pageview per second per machine is around 4.
They also have 4500 servers, so again be specific
about what kinds of apps, the response threshold and
peak loads.

I know there are some major sites using Tomcat, though
many aren't allowed to acknowledge publicly.

I hope that helps. by the way, most of the benchmarks
out there comparing performance of servlet containers
are flawed and synthetic. In my own test with tomcat
4.1.12 with Orion's old jsp test page, Tomcat was
faster than orion 1.5.3.  It's very easy to write test
pages that makes one server appear faster than
another.


peter lin


--- "Anecito, Anthony (HQP)" <To...@rhi.com>
wrote:
> Hi All,
> 
> I am looking at Tomcat for production and seeing
> some things that make me
> question its use for production. I believe what
> Jakarta group is doing is a
> great thing for all of us looking for cheaper
> alternatives but there is may
> be a serious issue to using Tomcat. I have seen and
> now read concern about
> Tomcat's performance. I found an interesting tidbit
> in a newsgroup about
> Tomcat performance and a reference to some
> benchmarks. The benchmarks were
> done in 2001 and are out of date but even today I
> still hear of concerns
> regarding Tomcat performance and even my peers are
> saying it is a "reference
> implementation only". The links are as follows:
> 
>
http://groups.google.com/groups?q=performance+vs+tomcat+weblogic+websphere&h
>
l=en&lr=&ie=UTF-8&scoring=d&selm=HOEFIONAHHKFEFENBMNOAEPPCBAA.rsanford%40nol
> imitsystems.com&rnum=4
> 
> http://www.orionserver.com/benchmarks/benchmark.html
> 
> 
> 
> If anyone knows of some more up to date information
> regarding this issue
> please let me know. I would really appreciate the
> feedback!
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


cant run jsp in Tomcat

Posted by x x <cu...@yahoo.com>.
 I run Tomcat 4.1.18 running in a  linux Mandrake
 8.2,
 i want to run a jsp that import a javabean from
 another directory. When i run my jsp i saw this
 messages
 
  The server encountered an internal error () that
 prevented it from fulfilling this request.
 
 exception
 
 org.apache.jasper.JasperException: No se puede
> compilar la clase para JSP
> 
> An error occurred at line: 0 in the jsp file:
> /iata/veri_usr.jsp
> 
> Generated servlet error:
>     [javac] Compiling 1 source file
> 
>
/usr/local/jakarta-tomcat-4.1.18/work/Standalone/localhost/_/iata/veri_usr_jsp.java:41:
> package misitio.beans does not exist
>       misitio.beans.Login login = null;
>                    
> 
> 
> I put im my profile this CLASSPATH 
> 
> CLASSPAT=.:$JAVA_HOME/lib/tools.jar:/java
> export CLASSPATH
> 
> where /java its the directory where i have
> mistio/beans that correspond to the packet
> mistio.beans where i have the Login.class
> 
> 
> Fabian
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


problem with jsp javabeans

Posted by x x <cu...@yahoo.com>.
I run Tomcat 4.1.18 running in a  linux Mandrake 8.2,
i want to run a jsp that import a javabean from
another directory. When i run my jsp i saw this
messages

 The server encountered an internal error () that
prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: No se puede
compilar la clase para JSP

An error occurred at line: 0 in the jsp file:
/iata/veri_usr.jsp

Generated servlet error:
    [javac] Compiling 1 source file

/usr/local/jakarta-tomcat-4.1.18/work/Standalone/localhost/_/iata/veri_usr_jsp.java:41:
package misitio.beans does not exist
      misitio.beans.Login login = null;
                   


I put im my profile this CLASSPATH 

CLASSPAT=.:$JAVA_HOME/lib/tools.jar:/java
export CLASSPATH

where /java its the directory where i have
mistio/beans that correspond to the packet
mistio.beans where i have the Login.class


Fabian












__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org