$ wrk -t12 -c400 -d30s http://127.0.0.1:8080/v1.0
Running 30s test @ http://127.0.0.1:8080/v1.0
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 91.28ms 42.27ms 620.09ms 76.34%
Req/Sec 358.49 95.67 1.42k 74.44%
126974 requests in 30.09s, 123.15MB read
Socket errors: connect 0, read 5, write 0, timeout 0
Requests/sec: 4220.31
use wrk/wrk instead of ab for benchmark testing?
https://github.com/wg/wrk
sample:
pro:
con:
todo: