Hello!
I've installed Apache 1.3.27 on Win2k Server and two Tomcat 4.0.5 servers
(one on the same machine as Apache and one on the second one with Mandrake
9). In both environments I use j2sdk 1.4.0. My goal was to test the
perormance of such configuration. I haven't made any extra changes in config
files besides those that were needed to run everything. I use the
configuration almost identical the same as Pascal Forge in his article
"Apache 1.3.23 + Tomcat 4.0.2 + Load Balancing" that can be found over the
Net. The loadbalancing have worked ok. So I've made some tests using JMeter
and AB.
I' ve run AB on the third machine with parameters: ab -n 10000 -c 40
http://localhost/examples/servlet/RequestInfoExample (to test Apache with
loadbalanced Tomcats)
http://localhost:8080/examples/servlet/RequestInfoExample (to test Tomcat
running on the same machine as Apache)
http://192.168.1.23:8080/examples/servet/RequestInfoExample (to test Tomcat
running on the second machine)
I've made similar test for static page: /examples/servlets/index.html
What I've found is that in both cases the first configuration (Apache +
Tomcats) worked over 2/3 slower than Tomcat used standalone ( avg ~130
requsets/second to ~400).I have repeated tests multiple times but the
results have been similar.
I' ve also noticed that using first configuration (A+T) AB shows:
Complete requests: 10000
Failed requests: 5000
(Connect: 0, Length: 5000, Exceptions: 0).
For Tomcats standalone Failed requests are 0.
My questions are:
1. What does failed requests mean?
2. Why the performance of A + T is lower than the performance of single T?
(is this because Apache for NT is not well tuned?)
( or is this because of the A configuration - what should I change if so?)
Best regards,
Michal
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>