开发者

What are the advantages of using Node.js vs PHP [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Why and When to use node js?

Can someone tell me why all this fuss ab开发者_运维技巧out node.js ? Is a regular web site (lets say a blog) written in node.js faster compared to same written in some php framework? I know that a web server written in node.js will be faster than apache but how about a real web application that doesn't create threads or something like that?


Edited:

There are 2 main advantages:

  1. Speed! (Performance)
  2. Node.js is event-driven and non-blocking and very good at handling concurrent requests.

Here is a link to a benchmarking test for node.js against PHP on Apache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜