wrk -t 16 -c 1000 -d 10s --latency --timeout 5s -s ./post.lua 'http://localhost:8081/pub?clientid=jacoblai&topic=testtopic/a&qos=0&retain=false'
Running 10s test @ http://localhost:8081/pub?clientid=jacoblai&topic=testtopic/a&qos=0&retain=false
16 threads and 1000 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 8.14ms 3.05ms 45.08ms 65.95%
Req/Sec 4.47k 2.16k 66.48k 89.63%
712972 requests in 10.10s, 233.35MB read
Socket errors: connect 0, read 918, write 0, timeout 0
Non-2xx or 3xx responses: 712972