| 注册
首页|期刊导航|现代电子技术|Node.js:一种新的Web应用构建技术

Node.js:一种新的Web应用构建技术

王金龙 宋斌 丁锐

现代电子技术Issue(6):70-73,4.
现代电子技术Issue(6):70-73,4.

Node.js:一种新的Web应用构建技术

Node.js:a new technology to build Web application

王金龙 1宋斌 1丁锐2

作者信息

  • 1. 南京理工大学,江苏 南京 210094
  • 2. 中国铁通集团有限公司 泰州分公司,江苏 泰州 225300
  • 折叠

摘要

Abstract

Nowadays,there are many program languages to build Web application. During developing Web application,the most of languages must handle multithreading problem. In addition,these Web application programs must be deployed in a third⁃party Web server,such as Apache,Tomcat,Nginx and so on. Recently,Node.js,an event⁃driven server⁃side JavaScript envi⁃ronment based on I/O has been widely concerned and applied. In this paper,via comparing the performance of the Web applica⁃tion built by synchronous blocking PHP and asynchronous non⁃blocking Node.js,it is found that the response time of the Web server built by Node.js is shorter than PHP and the throughput of Node.js is higher than PHP in the case of high concurrent re⁃quests. A conclusion that Node.js is superior to PHP in building fast and scalable Web application program is obtained eventually.

关键词

Web服务器/异步非阻塞/事件驱动模型/Node.js

Key words

Web server/asynchronous non-blocking/event-driven model/Node.js

分类

信息技术与安全科学

引用本文复制引用

王金龙,宋斌,丁锐..Node.js:一种新的Web应用构建技术[J].现代电子技术,2015,(6):70-73,4.

现代电子技术

OA北大核心CSTPCD

1004-373X

访问量0
|
下载量0
段落导航相关论文