You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ar...@gyc.es on 2003/11/24 11:37:55 UTC
tomcat stats and performances
Hi to all, I have two questions. We have Tomcat as server for a struts web
application.
- We need do stats for that web application, stats like what pages user
enter, who user enter more to the application, performance stats ... I have
seen that one choice is do a manual filter, other choice use awstats. I
would appreciate information about that of someone that have experiencia on
stats, and he can help me to choose the best choice on time and effort.
- The second question is about performance, here we have tomcat and when
most user enter to the application the server don't reply very well. I have
read that is better have APACHE as web server and TOMCAT as server
container, is that true? would I improve the performance? or the solution
is customize tomcat better?.
THANKS IN ADVANCE. REGARDS.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat stats and performances
Posted by Remy Maucherat <re...@jboss.org>.
arinsoun@gyc.es wrote:
> Hi to all, I have two questions. We have Tomcat as server for a struts web
> application.
First, don't crosspost. Thanks.
> - We need do stats for that web application, stats like what pages user
> enter, who user enter more to the application, performance stats ... I have
> seen that one choice is do a manual filter, other choice use awstats. I
> would appreciate information about that of someone that have experiencia on
> stats, and he can help me to choose the best choice on time and effort.
You should use Tomcat 5 and precompile your web application to do that
so that your JSPs are mapped as individual servlets. You can do that
using the Tomcat 5 deployer tool.
The status servlet will then display statistics for the HTTP connector
and the indivudual webapps and servlets.
> - The second question is about performance, here we have tomcat and when
> most user enter to the application the server don't reply very well. I have
> read that is better have APACHE as web server and TOMCAT as server
> container, is that true? would I improve the performance? or the solution
> is customize tomcat better?.
Tomcat HTTP has lower latency than JK, so you'll get better performance
with HTTP unless there are very few requests for dynamic content. Tomcat
5 is also a little bit faster than TC 4.1. However, I think your
bottlenecks come from either your application, the database setup you're
using, or too little bandwidth (if you have a public site).
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Senior Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat stats and performances
Posted by Peter Lin <tc...@yahoo.com>.
The first thing you will want to consider is do you really need to use JSP tags. If you read my little article on performance, you'll see jsp tags reduces performance. The newest jasper in tomcat5 has a plugin feature, which allows you to convert jsp tags to pure java code.
You're going to have to be more specific about what type of app it is, whether it is going to a database, is connection pooling used, what type of process it handles and so on. The projects that I've worked on using jsp tags chose it for rapid development reasons and we accepted that at the beginning. When you say it doesn't respond very well, it doesn't give enough detail for others to assist you.
there have been quite a few threads lately on performance, so I recommend reading those messages to see if that helps.
peter
arinsoun@gyc.es wrote:
Hi to all, I have two questions. We have Tomcat as server for a struts web
application.
- We need do stats for that web application, stats like what pages user
enter, who user enter more to the application, performance stats ... I have
seen that one choice is do a manual filter, other choice use awstats. I
would appreciate information about that of someone that have experiencia on
stats, and he can help me to choose the best choice on time and effort.
- The second question is about performance, here we have tomcat and when
most user enter to the application the server don't reply very well. I have
read that is better have APACHE as web server and TOMCAT as server
container, is that true? would I improve the performance? or the solution
is customize tomcat better?.
THANKS IN ADVANCE. REGARDS.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now