What are the advantages of using Node.js vs PHP


Possible Duplicate:
Why and When to use node js?

Can someone tell me why all this fuss about 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?

5/23/2017 12:34:14 PM

Accepted Answer


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.

5/23/2017 10:31:23 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow