Home >Backend Development >PHP Tutorial >Why is it very slow if -c is too large when using apache's ab pressure test?

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

WBOY
WBOYOriginal
2016-08-26 10:28:281733browse

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

Statement:
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