Skip to content

Instantly share code, notes, and snippets.

@xtity
Last active August 29, 2015 14:18
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 xtity/5d744a5c834ad11c86bb to your computer and use it in GitHub Desktop.
Save xtity/5d744a5c834ad11c86bb to your computer and use it in GitHub Desktop.
CentOS + Erlang + Elixir + PhoenixのDockerイメージで今日から始めるElixir on Phoenix入門 ref: http://qiita.com/xtity/items/969eefb83fcac9023542
docker run -d -p 80:4000 --name phoenix -t xtity/docker-centos7-elixir-phoenix
wrk -c15 -t15 -d60s http://(boot2docker ipで出たIP)/
Running 1m test @ http://192.168.59.103/
15 threads and 15 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 13.08ms 10.04ms 96.39ms 77.90%
Req/Sec 87.84 32.20 333.00 69.75%
78536 requests in 1.00m, 158.41MB read
Requests/sec: 1308.79
Transfer/sec: 2.64MB
Running 1m test @ http://localhost:4000
15 threads and 15 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.88ms 3.56ms 32.26ms 63.70%
Req/Sec 210.03 90.81 578.00 61.01%
184000 requests in 1.00m, 371.12MB read
Requests/sec: 3066.63
Transfer/sec: 6.19MB
Running 1m test @ http://192.168.59.103/
15 threads and 15 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 86.21ms 16.54ms 285.79ms 79.97%
Req/Sec 11.40 2.56 18.00 73.61%
10644 requests in 1.00m, 13.37MB read
Requests/sec: 177.34
Transfer/sec: 228.08KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment