Tomcat 5.5 & Resin Rough Performance Comparison
Here's a rough performance test between Tomcat and Resin.
The test was run on the same machine and with the same maximum memory of 256M.
The Test Command:
ab -c 2000 -n 10000 http://192.168.21.178:8080/bench/bench.jsp
the size of bench.jsp is 32.6k and there is the image of size 48.4k.
With the result, we can come to such conclusion:
1) Resin serves 80% of the requests in 6 to 8.8 secs while tomcat in 9.6
2) Resin Pro serves 90% of the requests in 13 secs and Resin OS in 20 secs
3) Tomcat serves 90% of the requests in 21 secs
4) Tomcat's failed request is 25 times of Resin Pro and 10 times of Resin OS
Which is quite astonishing
5) The Requests per second between Tomcat and Resin OS are almost the same.
while Resin Pro serves 17% more than Tomcat
Descriptions:
1) PRS means Percentage of the requests served within a certain time (ms)
2) Total 10000 requests, Concurrency 2000
Tomcat 5.5 Test N.O 80% PRS 90%PRS 95% PRS Requests per second Failed requests longest request 1 9206 21097 22418 129.02 589 76762 2 9620 21347 25371 104.29 532 94120 3 10085 21804 46183 73.76 373 134573 Average 9637 21416 31324 102.35667 498 101818.3 Resin 3.1.6 OS 1 9277 21341 45043 101.71 43 97932 2 9215 21261 45611 92.06 61 107969 3 8031 18700 26903 106.44 47 93924 Average 8841 20434 39185.6667 100.07 50.33333 99941.67 Resin 3.1.6 Pro 1 9266 21113 23070 120.06 42 81184 2 6051 10005 21390 123.36 14 78333 3 3409 9124 21109 109.78 5 81845 Average 6242 13414 21856.3333 117.73333 20.33333 80454