Re: performance of serving static data? apache or tomcat

2003-07-28 Thread Mark W. Webb
Do you know of any load testing tools for apache/tomcat that support testing when a mutually authenticated SSL connnection is required ? Tim Funk wrote: yes and no. The browser makes a request to apache. Then the request is proxied to tomcat. When the servlet has been served, the browser

performance of serving static data? apache or tomcat

2003-07-25 Thread markw
I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2 get requests by the browser? One being the image, and one being the servlet? Unfortunately, this is

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Tim Funk
yes and no. The browser makes a request to apache. Then the request is proxied to tomcat. When the servlet has been served, the browser issues a keep-alive and reuses the apache socket connection to get any other assets (such as images) needed. 2 requests, one connection. With the numerous

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread srevilak
From: markw () dolphtech ! com Subject: performance of serving static data? apache or tomcat I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
It's two requests whether you use Apache or not. John [EMAIL PROTECTED] wrote: I am working on a servlet that will be served from tomcat which is connected to apache. Currently I have the servlet being handled by tomcat, and the image handled by apache. Won't this require 2 get requests by the

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
No, there is only one request that is sent from browser to Apache. Apache will reroute the request to Tomcat as needed. So what you are using now is the best configuration. --- [EMAIL PROTECTED] wrote: I am working on a servlet that will be served from tomcat which is connected to apache.

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
servelet = one request image = one request 1 + 1 = 2 requests John Nguyen Anh Tuan wrote: No, there is only one request that is sent from browser to Apache. Apache will reroute the request to Tomcat as needed. So what you are using now is the best configuration. --- [EMAIL PROTECTED] wrote:

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
Hi, John, Lets say you have one static HTML page with one image in it. You can serve it with Apache stand alone (or any stand alone Web server). So howmany requests are there ? Do you count : HTML : 1 request Image : 1 request 1+1=2 requests The answer is : You just request for a page, and

RE: performance of serving static data? apache or tomcat

2003-07-25 Thread Shapira, Yoav
Howdy, Lets say you have one static HTML page with one image in it. You can serve it with Apache stand alone (or any stand alone Web server). So howmany requests are there ? Do you count : HTML : 1 request Image : 1 request 1+1=2 requests The answer is : You just request for a page, and

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
Thanks for the hint, I've read the spec many times. I'm not clear what you are saying. Its two requests, whether its Apache + Tomcat, Apache alone, or Tomcat alone. Check your access logs...you don't see one log entry for a HTML page with one image, you see two: a 200 for the HTML page, and

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
Hi, John, Thank you for the discussion. However, the amount of requests for JSP/Servlet with one image sent from a browser to Apache/Tomcat will equal exactly the amount of requests for one static HTML with one image sent from a browser to a stand alone Web server, is that right ? In either

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
Yes, that is exactly what I have been saying. John Nguyen Anh Tuan wrote: Hi, John, Thank you for the discussion. However, the amount of requests for JSP/Servlet with one image sent from a browser to Apache/Tomcat will equal exactly the amount of requests for one static HTML with one image sent

RE: performance of serving static data? apache or tomcat

2003-07-25 Thread Mike Curwen
:20 AM To: Tomcat Users List Subject: Re: performance of serving static data? apache or tomcat Yes, that is exactly what I have been saying. John Nguyen Anh Tuan wrote: Hi, John, Thank you for the discussion. However, the amount of requests for JSP/Servlet with one image

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread John Turner
are saying the same thing, but maybe not (if this is indeed the difficulty). -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 10:20 AM To: Tomcat Users List Subject: Re: performance of serving static data? apache or tomcat Yes, that is exactly