wrk$ curl -v http://localhost:8000/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8000 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8000
> Accept: */*
>
< HTTP/1.1 200 OK
* Server openresty/1.7.4.1 is not blacklisted
< Server: openresty/1.7.4.1
< Date: Sun, 21 Dec 2014 16:05:24 GMT
< Content-Type: text/plain
< Content-Length: 13
< Connection: keep-alive
<
Hello, World
* Connection #0 to host localhost left intact
bench$ gunicorn --keep-alive=120 -b unix:/dev/shm/app.sock -k meinheld.gmeinheld.MeinheldWorker -w 8 hello:app
wrk$ ./bench.sh
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 0.91ms 2.07ms 119.74ms 95.76%
Req/Sec 12.99k 4.14k 42.89k 84.32%
3891565 requests in 20.00s, 615.89MB read
Requests/sec: 194597.52
Transfer/sec: 30.80MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.26ms 1.66ms 39.13ms 86.43%
Req/Sec 11.61k 5.36k 23.06k 71.80%
3527117 requests in 20.00s, 558.21MB read
Requests/sec: 176373.65
Transfer/sec: 27.91MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.37ms 1.83ms 100.25ms 85.37%
Req/Sec 11.06k 5.35k 21.25k 70.19%
3358701 requests in 20.00s, 531.56MB read
Requests/sec: 167951.54
Transfer/sec: 26.58MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.40ms 1.86ms 93.97ms 84.13%
Req/Sec 11.13k 5.43k 21.29k 69.58%
3375888 requests in 20.00s, 534.28MB read
Requests/sec: 168804.15
Transfer/sec: 26.72MB
bench$ gunicorn --keep-alive=120 -b unix:/dev/shm/app.sock -k meinheld.gmeinheld.MeinheldWorker -w 16 hello:app
wrk$ ./bench.sh
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 540.14us 1.33ms 21.50ms 97.34%
Req/Sec 20.01k 3.83k 39.92k 83.01%
6125419 requests in 20.00s, 0.95GB read
Requests/sec: 306301.73
Transfer/sec: 48.48MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 555.74us 1.01ms 33.29ms 94.99%
Req/Sec 19.38k 5.32k 48.77k 77.78%
5823292 requests in 20.00s, 0.90GB read
Requests/sec: 291193.69
Transfer/sec: 46.08MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 563.98us 1.20ms 23.43ms 96.01%
Req/Sec 19.61k 5.24k 47.67k 79.26%
5885924 requests in 20.00s, 0.91GB read
Requests/sec: 294325.97
Transfer/sec: 46.58MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 504.93us 0.93ms 16.98ms 96.13%
Req/Sec 19.87k 4.76k 49.15k 79.37%
5981555 requests in 20.00s, 0.92GB read
Requests/sec: 299105.97
Transfer/sec: 47.34MB
bench$ gunicorn --keep-alive=120 -b :8000 -k meinheld.gmeinheld.MeinheldWorker -w 16 hello:app
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 272.53us 306.04us 16.59ms 95.69%
Req/Sec 31.26k 8.75k 63.44k 66.10%
9403925 requests in 20.00s, 1.43GB read
Requests/sec: 470287.53
Transfer/sec: 73.11MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 258.08us 241.60us 16.66ms 94.22%
Req/Sec 32.10k 7.26k 60.33k 63.79%
9650665 requests in 20.00s, 1.47GB read
Requests/sec: 482590.29
Transfer/sec: 75.02MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 265.34us 345.25us 28.04ms 97.20%
Req/Sec 31.57k 6.81k 63.11k 68.04%
9502529 requests in 20.00s, 1.44GB read
Requests/sec: 475175.82
Transfer/sec: 73.87MB
+ ./wrk -c128 -t16 -d20 http://127.0.0.1:8000/
Running 20s test @ http://127.0.0.1:8000/
16 threads and 128 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 269.89us 286.67us 16.40ms 95.73%
Req/Sec 30.98k 7.78k 61.89k 69.86%
9328887 requests in 19.99s, 1.42GB read
Requests/sec: 466600.05
Transfer/sec: 72.53MB