What are the advantages of using Node.js vs PHP [duplicate]
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:
- Speed! (Performance)
- 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.
精彩评论