Use the ab tool to perform a stress test on a page to find out how many concurrencies it can support (response time is less than 10s). How to increase the number of concurrencies and requests? Should one parameter remain unchanged, or should both parameters (-n, -c) be made larger? If we want to get bigger, how should we get bigger? Please please please
某草草2017-05-16 17:03:53
The parameter of
-n represents the total number of requests initiated.
-c is the number of concurrency
When the total amount is constant, continue to increase the concurrency amount. Of course, the concurrency amount cannot exceed the total amount:)
After repeated adjustments, you should be able to achieve the page response time you want below a certain value under XX concurrency.