Home > Backend Development > PHP Tutorial > apache - php just outputs a hello world, why is the rps so low?

apache - php just outputs a hello world, why is the rps so low?

WBOY
Release: 2016-09-06 08:57:11
Original
1179 people have browsed it

apache - php just outputs a hello world, why is the rps so low?

This is the test:
ab -n 1000 -c 100 -w http://m.salamander.com/index...

This is the framework I wrote: Salamander

Reply content:

apache - php just outputs a hello world, why is the rps so low?

This is the test:
ab -n 1000 -c 100 -w http://m.salamander.com/index...

This is the framework I wrote: Salamander

Why should we remove the dependence on composer and use spl_auto_load?
Let’s change it back!

Processing less than 18 requests per second, the performance of your framework is too bad.
PHP’s built-in single-process HTTP server can easily handle more than 11K requests per second (Ubuntu i5-3230M).
apache - php just outputs a hello world, why is the rps so low?

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template