Created
September 2, 2011 21:22
-
-
Save MiLk/1189959 to your computer and use it in GitHub Desktop.
Comparaison Varnish / Nginx / Apache2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Varnish + Nginx | |
httperf --client=0/1 --server=www.hostyourcreeper.com --port=6081 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=500 --num-calls=10 | |
Maximum connect burst length: 1 | |
Total: connections 500 requests 5000 replies 5000 test-duration 166.988 s | |
Connection rate: 3.0 conn/s (334.0 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 293.1 avg 334.0 max 5315.1 median 309.5 stddev 316.5 | |
Connection time [ms]: connect 0.1 | |
Connection length [replies/conn]: 10.000 | |
Request rate: 29.9 req/s (33.4 ms/req) | |
Request size [B]: 76.0 | |
Reply rate [replies/s]: min 14.0 avg 29.9 max 32.6 stddev 5.4 (33 samples) | |
Reply time [ms]: response 33.4 transfer 0.0 | |
Reply size [B]: header 440.0 content 6516.0 footer 0.0 (total 6956.0) | |
Reply status: 1xx=0 2xx=5000 3xx=0 4xx=0 5xx=0 | |
CPU time [s]: user 31.95 system 134.60 (user 19.1% system 80.6% total 99.7%) | |
Net I/O: 205.6 KB/s (1.7*10^6 bps) | |
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 | |
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 | |
-- Nginx | |
httperf --client=0/1 --server=www.hostyourcreeper.com --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=500 --num-calls=10 | |
Maximum connect burst length: 1 | |
Total: connections 500 requests 5000 replies 5000 test-duration 186.935 s | |
Connection rate: 2.7 conn/s (373.9 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 291.0 avg 373.9 max 5454.9 median 309.5 stddev 508.6 | |
Connection time [ms]: connect 0.1 | |
Connection length [replies/conn]: 10.000 | |
Request rate: 26.7 req/s (37.4 ms/req) | |
Request size [B]: 76.0 | |
Reply rate [replies/s]: min 1.2 avg 26.7 max 32.8 stddev 9.9 (37 samples) | |
Reply time [ms]: response 37.3 transfer 0.1 | |
Reply size [B]: header 398.0 content 6516.0 footer 2.0 (total 6916.0) | |
Reply status: 1xx=0 2xx=5000 3xx=0 4xx=0 5xx=0 | |
CPU time [s]: user 36.11 system 149.63 (user 19.3% system 80.0% total 99.4%) | |
Net I/O: 182.6 KB/s (1.5*10^6 bps) | |
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 | |
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 | |
-- Varnish + Apache2 | |
httperf --client=0/1 --server=mchosting.emilienkenler.com --port=6081 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=500 --num-calls=10 | |
Maximum connect burst length: 1 | |
Total: connections 500 requests 5000 replies 5000 test-duration 203.915 s | |
Connection rate: 2.5 conn/s (407.8 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 327.8 avg 407.8 max 5420.5 median 349.5 stddev 464.3 | |
Connection time [ms]: connect 0.1 | |
Connection length [replies/conn]: 10.000 | |
Request rate: 24.5 req/s (40.8 ms/req) | |
Request size [B]: 80.0 | |
Reply rate [replies/s]: min 0.0 avg 24.4 max 29.2 stddev 7.5 (40 samples) | |
Reply time [ms]: response 40.7 transfer 0.0 | |
Reply size [B]: header 474.0 content 6528.0 footer 0.0 (total 7002.0) | |
Reply status: 1xx=0 2xx=5000 3xx=0 4xx=0 5xx=0 | |
CPU time [s]: user 38.44 system 164.58 (user 18.9% system 80.7% total 99.6%) | |
Net I/O: 169.6 KB/s (1.4*10^6 bps) | |
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 | |
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 | |
-- Apache2 | |
httperf --client=0/1 --server=mchosting.emilienkenler.com --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=500 --num-calls=10 | |
Maximum connect burst length: 1 | |
Total: connections 500 requests 4705 replies 4668 test-duration 204.760 s | |
Connection rate: 2.4 conn/s (409.5 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 6.9 avg 409.5 max 5453.1 median 344.5 stddev 606.1 | |
Connection time [ms]: connect 0.1 | |
Connection length [replies/conn]: 9.336 | |
Request rate: 23.0 req/s (43.5 ms/req) | |
Request size [B]: 80.0 | |
Reply rate [replies/s]: min 2.2 avg 22.7 max 29.4 stddev 7.6 (40 samples) | |
Reply time [ms]: response 43.8 transfer 0.0 | |
Reply size [B]: header 400.0 content 6476.0 footer 0.0 (total 6876.0) | |
Reply status: 1xx=0 2xx=4631 3xx=0 4xx=0 5xx=37 | |
CPU time [s]: user 39.89 system 164.20 (user 19.5% system 80.2% total 99.7%) | |
Net I/O: 154.9 KB/s (1.3*10^6 bps) | |
Errors: total 37 client-timo 0 socket-timo 0 connrefused 0 connreset 37 | |
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment