Open bertt opened 6 years ago
reference: 2107 request/s other test: 4089 request/s
running wrk in docker:
$ docker run --rm --net=host williamyeh/wrk -t12 -c400 -d30s http://127.0.0.1:8080/v1.0
Posting sample:
$ wrk -t12 -c400 -d30s -s post.lua http://127.0.0.1:8080/v1.0/Locations
Met post.lua file:
wrk.method = "POST"
wrk.body = '{"name": "Somewhere","description": "my backyard","encodingType": "application/vnd.geo+json","location": {"type": "Point","coordinates": [-117.123,54.123]}}'
wrk.headers["Content-Type"] = "application/json"
Result on my machine: Requests/sec: 1168.43
use wrk/wrk instead of ab for benchmark testing?
https://github.com/wg/wrk
sample:
pro:
con:
todo: