We now have about 300,000 users. How do I test the nginx server's capabilities? How do I use webbench to test it?
習慣沉默
習慣沉默 2017-05-16 17:15:23
0
2
469

1 The server is nginx
2 Does the test take parameters? How to do post testing with webBenche?
3 How to use webbench to test whether the interface is real or not? Some interfaces require parameters to be passed. Do I need to test with parameters?

習慣沉默
習慣沉默

reply all(2)
大家讲道理
  1. The total user base is 30W. I speculate that the average TPS does not exceed 10, so NGINX has no performance issues. The actual stress test tests the performance of the backend.

  2. HTTP’s maximum TPS and concurrency tests can be tested using ab and wrk. If you need to post, you can use ab -p ./body.txt -T "application/x-www-form-urlencoded"

  3. Parameters can be written directly after the url, such as ab -n 10 -c 1 http://example.com/cgi?name=value

给我你的怀抱

ab/siege

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!