Why is it very slow if -c is too large when using apache's ab pressure test?

WBOY
Release: 2016-08-26 10:28:28
Original
1666 people have browsed it

Use the ab pressure test interface. If -c 100 is used, it will be very fast. At 300, 500, 800 or even 1000, it will start to be slow. 90% or 95% of the time will be faster, but there will always be a small number of requests that will take a higher time. , causing QPS to become very low. Why is this?

In addition, I tried it under linux

Reply content:

Use the ab pressure test interface. If -c 100 is used, it will be very fast. At 300, 500, 800 or even 1000, it will start to be slow. 90% or 95% of the time will be faster, but there will always be a small number of requests that will take a higher time. , causing QPS to become very low. Why is this?

In addition, I tried it under linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
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!