wrk
- 安装 wrk
git clone git clone https://github.com/wg/wrk.git wrk
cd wrk
make
sudo cp wrk /usr/local/bin
- wrk 压力测试
ulimit -n 20000
wrk -t10 -c1000 -d30s --latency "http://localhost:8888/check?book=google"
Running 30s test @ http://localhost:8888/check?book=google