What are the advantages of using Node.js vs PHP

Phpnode.js

Php Problem Overview


> 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?

Php Solutions


Solution 1 - Php

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionoverthetopView Question on Stackoverflow
Solution 1 - PhpRobin MabenView Answer on Stackoverflow