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?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-09-06 08:57:11
Original
1209 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:
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 Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template