Home  >  Q&A  >  body text

We now have about 300,000 users. How do I test the nginx server's capabilities? How do I use webbench to test it?

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?

習慣沉默習慣沉默2713 days ago476

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 17:17:23

    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

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-16 17:17:23

    ab/siege

    reply
    0
  • Cancelreply