Remy Maucherat wrote:

> Speaking about performance, did anyone do a comparison of 
> mod_proxy against mod_jk to see how good/bad it is ? This is 
> really important information IMO, and I don't see how a 
> decision can be made without it.
>

Results a quite impressive, good question Remy :)

Tomcat 5.0.27 + Apache 2.0.50
All tests done on a clean startup with empty logs.


ProxyPass /servlets-examples/ http://localhost:8080/servlets-examples/
ProxyPassReverse /servlets-examples/
http://localhost:8080/servlets-examples/

Ab -n 1000 

Time taken for tests:   4.226077 seconds

Mod_jk-1.26

JkWorkersFile conf/workers.properties
JkMount /servlets-examples/* ajp13 

Time taken for tests:   2.824061 seconds

A lot, lot faster.
 
What is more interesting is when you increase the number of loops forom 1000
to 10000

Ab -n 10000

Time taken for tests:   239.614549 seconds
Complete requests:      10000
Failed requests:        7011

Using mod_jk:

Ab -n 10000

Time taken for tests:   21.811363 seconds
Complete requests:      10000
Failed requests:        0


So, mod_proxy is a lot slower and doesn't handle load. 
(Perhaps increasing http listeners on TC would help).


MT.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to