Re: httpd vs. Tomcat performance

2010-03-27 Thread André Warnier
Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform because I don't know if the author (a certain mthomas) will mention it here.

Re: httpd vs. Tomcat performance

2010-03-27 Thread Konstantin Kolinko
2010/3/27 André Warnier a...@ice-sa.com: http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform Might this not also be worth preserving in the Tomcat FAQ/wiki ? There is

Re: httpd vs. Tomcat performance

2010-03-27 Thread Auser99
Thanks for the link. au http://www.xprad.org/ Hassan Schroeder-2 wrote: Just to get this into the archives for the next time it comes up http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform because I don't know

Re: httpd vs. Tomcat performance

2010-03-25 Thread Jason Brittain
Very entertaining reading! Thanks Chris and Mark for re-benchmarking, explaining, and giving your opinions on the results. I'm not entirely sure how I missed Chris' benchmark results email, almost exactly one year ago now. Chris: there are no units on your results numbers, and I'm not seeing

Re: httpd vs. Tomcat performance

2010-03-25 Thread Marian Simpetru
Hi , We have a online shop developed as a suite of JSR168 portlets. On some portlets we list products and images (so there are about 25 images per page + other images). One image has around 250k. Performance was greatly improved after we put apache httpd in front (images served by apache

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 01:39, Rémy Maucherat wrote: On Thu, Mar 25, 2010 at 1:50 AM, Mark Thomas ma...@apache.org wrote: Chris deserves a lot of the credit. Without his figures, it is just opinion. That's the second benchmark that I see today that has odd numbers. What did you think was odd? Mark

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 07:01, Jason Brittain wrote: Very entertaining reading! Thanks Chris and Mark for re-benchmarking, explaining, and giving your opinions on the results. I'm not entirely sure how I missed Chris' benchmark results email, almost exactly one year ago now. Chris: there are no units

Re: httpd vs. Tomcat performance

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/24/2010 8:50 PM, Mark Thomas wrote: On 25/03/2010 00:26, Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 17:47, Christopher Schultz wrote: Mark, On 3/24/2010 8:50 PM, Mark Thomas wrote: On 25/03/2010 00:26, Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up

Re: httpd vs. Tomcat performance

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 3/25/2010 3:01 AM, Jason Brittain wrote: Chris: there are no units on your results numbers, and I'm not seeing any procedure you used, nor any configurations you used, so I'm not sure how to interpret the numbers. I'd be happy to give

Re: httpd vs. Tomcat performance

2010-03-24 Thread Mark Thomas
On 25/03/2010 00:26, Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform because I don't know if the author (a certain mthomas)

Re: httpd vs. Tomcat performance

2010-03-24 Thread Rémy Maucherat
On Thu, Mar 25, 2010 at 1:50 AM, Mark Thomas ma...@apache.org wrote: Chris deserves a lot of the credit. Without his figures, it is just opinion. That's the second benchmark that I see today that has odd numbers. Rémy - To

Re: httpd/JK/Tomcat hung connections (2009 edition)

2009-10-10 Thread Rainer Jung
On 10.10.2009 16:45, darinpope wrote: I'm having the same issue as documented in: http://www.nabble.com/httpd-JK-Tomcat-hung-connections-td10403182.html For our situation, we haven't hit the server reached MaxClients setting issue yet, but we easily could. Use thread dumps to see, what

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-05-01 Thread Yuval Perlov
I believe (intuition, haven't checked) it is the latency the TCP adds to the setup which messes up with the threads scheduler (i'll ellaborate...) When you are in Tomcat only, between the http header coming in (IO) and you sending a response (again IO) you can usually get away with a

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-30 Thread Larry Prikockis
Yuval Perlov wrote: Out tomcat servers are handling around 30K SSL hits every 5 minutes with very little effort (10% cpu average on a dual core machine, good response time). We tried to put in httpd in front thinking we can squeeze out better performance and memory consumption. The system just

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Mark H. Wood
On Mon, Apr 28, 2008 at 11:27:09AM -0400, Larry Prikockis wrote: I know the latest edition of the O'Reilly Tomcat book by Brittain and Darwin strongly advocates the use of standalone Tomcat as opposed to the traditional httpd-Tomcat approach, but this seems to be somewhat of a paradigm

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry, Other than Mark's comments... Larry Prikockis wrote: | 1) Any thoughts on why the Apache SSL - Tomcat combination should be so | much slower? If your transactions are short, it's certainly possible that most of the time is taken up by

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Yuval Perlov
Out tomcat servers are handling around 30K SSL hits every 5 minutes with very little effort (10% cpu average on a dual core machine, good response time). We tried to put in httpd in front thinking we can squeeze out better performance and memory consumption. The system just couldn't handle

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Larry Prikockis
Mark H. Wood wrote: On Mon, Apr 28, 2008 at 11:27:09AM -0400, Larry Prikockis wrote: Specifically, we have a webapp on a Windows 2003 server that utilizes Apache 2.2 SSL as a frontend and mod_proxy_ajp to send requests to Tomcat 5.5.17 (on the same server). By eliminating the Apache frontend

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry, Larry Prikockis wrote: | Mark H. Wood wrote: | That's certainly worth thinking about. What exactly do you mean by | performance? | | good point... shoulda been more specific-- we were mainly looking at raw | connections per second and

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-28 Thread Larry Prikockis
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry, Other than Mark's comments... Larry Prikockis wrote: | 1) Any thoughts on why the Apache SSL - Tomcat combination should be so | much slower? If your transactions are short, it's certainly possible that most of

Re: httpd/JK/Tomcat hung connections

2007-05-10 Thread Rainer Jung
Please update mod_jk. 1.2.6 is *very* outdated. We are now at 1.2.22 and a lot of things have improved. After upgrading, check your configuration against the reference guide in the docs, especially the pages for the worker properties and Apache directives. You might want to add some more

Re: httpd/JK/Tomcat hung connections

2007-05-10 Thread Brantley Hobbs
Rainer, Thanks for the reply! You're certainly right on the JK version. Can you be more specific on the add some more timeouts comment? Do you mean a higher number on connection_pool_timeout? Also, should the relationship between httpd's MaxClients and the connector's maxThreads be 1:1 or

Re: httpd/JK/Tomcat hung connections

2007-05-10 Thread Rainer Jung
Brantley Hobbs wrote: Rainer, Thanks for the reply! You're certainly right on the JK version. Can you be more specific on the add some more timeouts comment? Do you mean a higher number on connection_pool_timeout? Have a look at connect_timeout and prepost_timeout. Usually I also use

Re: httpd/JK/Tomcat hung connections

2007-05-10 Thread Brantley Hobbs
Rainer, Thanks for all the info. Hopefully we can get this thing whipped into shape. Brantley Rainer Jung wrote: Brantley Hobbs wrote: Rainer, Thanks for the reply! You're certainly right on the JK version. Can you be more specific on the add some more timeouts comment? Do you mean a

Re: Re: HTTPD with Tomcat

2006-06-08 Thread Warren Pace
-ajp.conf From: [EMAIL PROTECTED] Date: 2006/06/07 Wed PM 10:36:09 EDT To: Tomcat Users List users@tomcat.apache.org Subject: Re: HTTPD with Tomcat Filip, Do you happen to have any examples of your mod_proxy setup? I've been trying to get mod_proxy and mod_proxy_ajp working (apache

Re: HTTPD with Tomcat

2006-06-08 Thread Marc Bächinger
? Thanks, Brad Mann Software Engineer - Information Access Services HARRIS Corporation / GCSD (321) 984-6292 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:45 PM To: Tomcat Users List Subject: Re: HTTPD

Re: HTTPD with Tomcat

2006-06-08 Thread bleak
- Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:45 PM To: Tomcat Users List Subject: Re: HTTPD with Tomcat you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup

Re: HTTPD with Tomcat

2006-06-08 Thread bleak
This appears to be working. Much appreciated! Cheers, -- Steven Warren Pace wrote: From: [EMAIL PROTECTED] Date: 2006/06/08 Thu PM 06:41:54 EDT To: Tomcat Users List users@tomcat.apache.org Subject: Re: HTTPD with Tomcat Aye, Marc, I saw that. I'm not using proxy_balance, and the server.xml

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD using the Jakarta Connector. I have installed the following on

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
Corporation / GCSD (321) 984-6292 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:45 PM To: Tomcat Users List Subject: Re: HTTPD with Tomcat you can also make your own life very easy, by switching to mod_proxy, and voila, everything

Re: HTTPD with Tomcat

2006-06-07 Thread bleak
- Information Access Services HARRIS Corporation / GCSD (321) 984-6292 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:45 PM To: Tomcat Users List Subject: Re: HTTPD with Tomcat you can also make your own life very easy, by switching

Re: HTTPD with Tomcat

2006-06-07 Thread Bill Barker
PM To: Tomcat Users List Subject: Re: HTTPD with Tomcat you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD

Re: HTTPD with Tomcat

2006-06-07 Thread Bill Barker
The auto-config Listener has always been somewhat problematic, especially with TC 4.x. At the very least, you need to include in httpd.conf: Include /path/to/catalina/home/conf/auto/mod_jk.conf I don't believe that the Listener really does all that much under the Server tag. Even in TC