You can use the tool that comes with apache.

ab -n 1000 -c 20 yourdomainhere/pathto/page.html

This is 1000 connections with 20 concurrent connections hitting page.html.

My readings on a PIII 667 with 256meg ram 133bus gets me about 170
connections per second on a static page in apache and 28 connections per
second to a servlet in tomcat.  Mod_perl is about 117 connections per second
and php w/database 130 connections per second.  Interesting. Not what I had
hoped for. Got more tuning to do.

Let me know what you get.

Regards,
Craig

-----Original Message-----
From: Dave Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 10:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Static page directory location


Never mind on the location, I figured it out.

Any benchmarks would be great though.

Thanks!

Dave

> -----Original Message-----
> From: Dave Brown [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Static page directory location
>
>
> Hi-
>
> Can someone explain how to set Tomcat up to serve static pages. Also, has
> anyone benchmarked how much slower it is than Apache?
>
> Thanks,
>
> Dave
>

Reply via email to