Possible Duplicate:
Why and When to use node js?可能的复制:为什么和何时使用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?
谁能告诉我为什么对node这么大惊小怪吗?js ?是在node中编写的常规web站点(比方说blog)。与在php框架中编写的代码相比,js更快?我知道一个web服务器是用node编写的。js将比apache要快,但是一个不创建线程的web应用程序呢?
1 个解决方案
#1
52
Edited:
编辑:
There are 2 main advantages:
有两个主要优点:
- Speed! (Performance)
- 速度!(性能)
- Node.js is event-driven and non-blocking and very good at handling concurrent requests.
- 节点。js是事件驱动的,不阻塞的,非常善于处理并发请求。
Here is a link to a benchmarking test for node.js against PHP on Apache.
这里有一个指向node基准测试的链接。Apache上针对PHP的js。
#1
52
Edited:
编辑:
There are 2 main advantages:
有两个主要优点:
- Speed! (Performance)
- 速度!(性能)
- Node.js is event-driven and non-blocking and very good at handling concurrent requests.
- 节点。js是事件驱动的,不阻塞的,非常善于处理并发请求。
Here is a link to a benchmarking test for node.js against PHP on Apache.
这里有一个指向node基准测试的链接。Apache上针对PHP的js。