Skip to content

Instantly share code, notes, and snippets.

@dtothefp
Last active July 22, 2016 16:57
Show Gist options
  • Save dtothefp/80bc4204cef0f59a4aed6afc7188a98a to your computer and use it in GitHub Desktop.
Save dtothefp/80bc4204cef0f59a4aed6afc7188a98a to your computer and use it in GitHub Desktop.
# i-27794fa1
https://docs.google.com/a/hillaryclinton.com/document/d/1Ofo4XOQAoKZozq9yS3p62xmh-kf18d0HVITVwn_jys8/edit?usp=sharing
---------------4 workers on 4 cores-----------------------
▶ wrk -c 50 -t 2 -d 1m -R 50 http://10.4.111.156/
Running 1m test @ http://10.4.111.156/
2 threads and 50 connections
Thread calibration: mean lat.: 5535.371ms, rate sampling interval: 12836ms
Thread calibration: mean lat.: 5376.000ms, rate sampling interval: 19415ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 31.83s 12.66s 0.90m 57.14%
Req/Sec 2.40 0.49 3.00 100.00%
322 requests in 1.00m, 18.83MB read
Socket errors: connect 0, read 0, write 0, timeout 1145
Non-2xx or 3xx responses: 53
Requests/sec: 5.35
Transfer/sec: 320.38KB
▶ wrk -c 50 -t 2 -d 1m -R 100 http://10.4.111.156/
Running 1m test @ http://10.4.111.156/
2 threads and 50 connections
Thread calibration: mean lat.: 5383.270ms, rate sampling interval: 18006ms
Thread calibration: mean lat.: 5086.912ms, rate sampling interval: 13647ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 32.65s 13.79s 0.95m 59.53%
Req/Sec 2.40 0.49 3.00 100.00%
327 requests in 1.00m, 20.72MB read
Socket errors: connect 0, read 0, write 0, timeout 1130
Non-2xx or 3xx responses: 31
Requests/sec: 5.44
Transfer/sec: 352.84KB
▶ wrk -c 100 -t 2 -d 1m -R 100 http://10.4.111.156/ # killed instance
Running 1m test @ http://10.4.111.156/
2 threads and 100 connections
Thread calibration: mean lat.: 5550.811ms, rate sampling interval: 16973ms
Thread calibration: mean lat.: 5378.288ms, rate sampling interval: 15040ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 32.88s 13.19s 0.94m 57.85%
Req/Sec 4.00 0.00 4.00 100.00%
485 requests in 1.01m, 18.04MB read
Socket errors: connect 0, read 0, write 0, timeout 2470
Non-2xx or 3xx responses: 228
Requests/sec: 8.04
Transfer/sec: 306.31KB
---------------no NodeJS workers and 4 cores-----------------
▶ wrk -c 50 -t 2 -d 1m -R 50 http://10.4.111.156/
Running 1m test @ http://10.4.111.156/
2 threads and 50 connections
Thread calibration: mean lat.: 4655.966ms, rate sampling interval: 9379ms
Thread calibration: mean lat.: 4656.397ms, rate sampling interval: 9388ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 35.76s 12.23s 0.94m 57.25%
Req/Sec 1.90 1.14 3.00 100.00%
294 requests in 1.00m, 9.70MB read
Socket errors: connect 0, read 0, write 0, timeout 1196
Non-2xx or 3xx responses: 156
Requests/sec: 4.88
Transfer/sec: 164.95KB
▶ wrk -c 50 -t 2 -d 1m -R 100 http://10.4.111.156/
Running 1m test @ http://10.4.111.156/
2 threads and 50 connections
Thread calibration: mean lat.: 5364.789ms, rate sampling interval: 10788ms
Thread calibration: mean lat.: 5363.927ms, rate sampling interval: 10797ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 34.83s 15.28s 0.96m 39.00%
Req/Sec 1.00 1.00 2.00 100.00%
238 requests in 1.00m, 10.24MB read
Socket errors: connect 0, read 0, write 0, timeout 1255
Non-2xx or 3xx responses: 92
Requests/sec: 3.95
Transfer/sec: 174.14KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment