Skip to content

Instantly share code, notes, and snippets.

@ryankennedy
Last active October 23, 2015 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryankennedy/3eb7436099c6ff0ca32d to your computer and use it in GitHub Desktop.
Save ryankennedy/3eb7436099c6ff0ca32d to your computer and use it in GitHub Desktop.
AWS Lambda Latency
$ ./wrk -t 10 -c 50 -d 60s --latency --timeout 15s http://hw9j2li3ma.execute-api.us-east-1.amazonaws.com/prod/NodeSayHello
Running 1m test @ http://hw9j2li3ma.execute-api.us-east-1.amazonaws.com/prod/NodeSayHello
10 threads and 50 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 3.22ms 3.93ms 206.21ms 93.68%
Req/Sec 1.72k 366.83 2.19k 83.31%
Latency Distribution
50% 2.34ms
75% 2.59ms
90% 4.61ms
99% 14.18ms
792675 requests in 1.00m, 497.75MB read
Non-2xx or 3xx responses: 120798
Requests/sec: 13196.94
Transfer/sec: 8.29MB
$ wrk -t 10 -c 50 -d 60s --latency --timeout 15s http://jii51u4dq0.execute-api.us-east-1.amazonaws.com/prod/SayHello
Running 1m test @ http://jii51u4dq0.execute-api.us-east-1.amazonaws.com/prod/SayHello
10 threads and 50 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 19.53ms 12.05ms 583.04ms 98.29%
Req/Sec 264.38 24.40 353.00 74.25%
Latency Distribution
50% 18.04ms
75% 20.56ms
90% 22.51ms
99% 53.82ms
158149 requests in 1.00m, 90.72MB read
Non-2xx or 3xx responses: 256
Requests/sec: 2631.95
Transfer/sec: 1.51MB
$ wrk -t 10 -c 50 -d 60s --latency --timeout 15s http://xb2tzv2wu1.execute-api.us-east-1.amazonaws.com/prod/NodeSayHello
Running 1m test @ http://xb2tzv2wu1.execute-api.us-east-1.amazonaws.com/prod/NodeSayHello
10 threads and 50 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 18.88ms 8.37ms 511.49ms 98.08%
Req/Sec 268.78 23.01 340.00 73.90%
Latency Distribution
50% 17.84ms
75% 20.10ms
90% 22.30ms
99% 39.63ms
160697 requests in 1.00m, 92.93MB read
Non-2xx or 3xx responses: 655
Requests/sec: 2675.19
Transfer/sec: 1.55MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment