期刊文献+

Node.js:一种新的Web应用构建技术 被引量:41

Node.js:a new technology to build Web application
下载PDF
导出
摘要 现如今,有很多种Web应用程序开发语言。在Web应用程序开发过程中,大部分语言都要解决多线程问题。而且这些Web应用程序都要部署在第三方Web服务器上,如:Apache,Tomcat,Nginx等。近期一种基于I/O事件驱动模型服务器端的Java Script运行环境——Node.js得到了广泛的关注和应用。通过对同步阻塞语言PHP和异步非阻塞的Node.js构建的Web应用程序做一些性能上的比较,发现在高并发请求的情况下,Node.js构建的服务器比PHP构建的应用程序的响应时间短、吞吐率高。最终得出结论 Node.js在构建快速、可扩展的Web应用程序方面的优势大于PHP。 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.
出处 《现代电子技术》 北大核心 2015年第6期70-73,共4页 Modern Electronics Technique
关键词 WEB服务器 异步非阻塞 事件驱动模型 Node.js Web server asynchronous non-blocking event-driven model Node.js
  • 相关文献

参考文献7

  • 1MCLAUGHLIN Brett.What is node?[M].California:O'Reilly Media,2011.
  • 2TILKOY Stefan,VINOSKI Steve.Node.js:using Java Script to build high-performance network programs[J].IEEE Internet Computing,2010,14(6):80-83.
  • 3赵昆.改变Web开发格局的新技术node.js[J].程序员,2011(7):124-125. 被引量:4
  • 4CANTELON Mike,HOLOWAYCHUK T J.Node.js in action[M].America:Manning Publications,2013.
  • 5RAUCH Guillermo.Smashing Node.js[M].America:Wiley,2012.
  • 6LOUKIDES Mike.New directions in web architecture[EB/OL].[2010-11-16].http://radar.oreilly.com/2010/11/new-directions-in-web-architec.html.
  • 7VOID B Y.Node.js开发指南[M].北京:人民邮电出版社,2012.

共引文献4

同被引文献294

引证文献41

二级引证文献165

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部