Created
July 25, 2012 13:37
-
-
Save abhiomkar/3176222 to your computer and use it in GitHub Desktop.
Website Benchmark: Ngnix vs Cherokee using httperf
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
# Benchmark - ngnix vs Cherokee | |
# Django + Cherokee | |
127.0.0.1 ➜ ~ httperf --client=0/1 --server=abhiomkar.in --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=10 --num-calls=10 | |
httperf --client=0/1 --server=abhiomkar.in --port=80 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=10 --num-calls=10 | |
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE | |
Maximum connect burst length: 1 | |
Total: connections 10 requests 100 replies 100 test-duration 70.575 s | |
Connection rate: 0.1 conn/s (7057.5 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 4995.7 avg 7057.5 max 13808.7 median 6310.5 stddev 2670.8 | |
Connection time [ms]: connect 291.2 | |
Connection length [replies/conn]: 10.000 | |
Request rate: 1.4 req/s (705.8 ms/req) | |
Request size [B]: 65.0 | |
Reply rate [replies/s]: min 0.0 avg 1.4 max 2.0 stddev 0.6 (14 samples) | |
Reply time [ms]: response 367.6 transfer 309.1 | |
Reply size [B]: header 159.0 content 12500.0 footer 2.0 (total 12661.0) | |
Reply status: 1xx=0 2xx=100 3xx=0 4xx=0 5xx=0 | |
CPU time [s]: user 10.15 system 60.33 (user 14.4% system 85.5% total 99.9%) | |
Net I/O: 17.6 KB/s (0.1*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 | |
## Django + ngnix + uWsgi | |
127.0.0.1 ➜ ~ httperf --client=0/1 --server=abhiomkar.in --port=8081 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=10 --num-calls=10 | |
httperf --client=0/1 --server=abhiomkar.in --port=8081 --uri=/ --send-buffer=4096 --recv-buffer=16384 --num-conns=10 --num-calls=10 | |
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE | |
Maximum connect burst length: 1 | |
Total: connections 10 requests 100 replies 100 test-duration 51.134 s | |
Connection rate: 0.2 conn/s (5113.4 ms/conn, <=1 concurrent connections) | |
Connection time [ms]: min 4432.8 avg 5113.4 max 9094.2 median 4530.5 stddev 1442.8 | |
Connection time [ms]: connect 394.2 | |
Connection length [replies/conn]: 10.000 | |
Request rate: 2.0 req/s (511.3 ms/req) | |
Request size [B]: 65.0 | |
Reply rate [replies/s]: min 0.8 avg 1.9 max 2.2 stddev 0.4 (10 samples) | |
Reply time [ms]: response 282.5 transfer 189.4 | |
Reply size [B]: header 170.0 content 12500.0 footer 2.0 (total 12672.0) | |
Reply status: 1xx=0 2xx=100 3xx=0 4xx=0 5xx=0 | |
CPU time [s]: user 7.36 system 43.75 (user 14.4% system 85.6% total 100.0%) | |
Net I/O: 24.3 KB/s (0.2*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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment