PHP: Which of the following is faster than nginxmysqlphp? How fast? Where is it? PHP: nginx mysql php
In general, which one is faster? How fast? Where is it?
Reply content:
PHP: nginx mysql php
In general, which one is faster? How fast? Where is it?
What do you mean by speed? Command Processing? Template rendering? Or comprehensive?
Node. js has the advantage of non-blocking IO, so itsThroughput
It can be relatively large and php can be used independently. There is no node advantage in this regard.
However, when you consider the performance issue, who will deploy a php separately? Do you have a front-end with another web server, such as nginx, does this not improve throughput?
In addition, in general, the slowness mainly lies in database access, and other processes can be ignored. Therefore, when you consider performance, it is meaningless to consider it separately.
If you want to consider the technical selection, you can choose mature ones, which is easy for the team to get started. I personally prefer php, because php is mature and stable, and many are used. nodejs may not be able to compare with php.
In general, node. js is fast and cannot be quantified in terms of speed. Fast in the event model, non-IO blocking, V8 JIT.
However:
1. PHPNG leaves the mountains next year
2. in the direction where node. js is advantageous, the porn film community can send swoole for World War I.
How can we compare C language to PHP?
A single node. js process wins.
The building has started to crash?
(The machine code goes out, who is fighting for power ......