Is Node.js']js a viable option for building modern web applications? A performance evaluation study

被引:35
作者
Chaniotis, Ioannis K. [1 ]
Kyriakou, Kyriakos-Ioannis D. [1 ]
Tselikas, Nikolaos D. [1 ]
机构
[1] Univ Peloponnese, Dept Informat & Telecommun, End Karaiskaki St, Tripolis 22100, Greece
关键词
Node.[!text type='js']js[!/text; End-to-end [!text type='Java']Java[!/text]Script; WebSockets; WebRTC; Real-time Web; Software performance evaluation;
D O I
10.1007/s00607-014-0394-9
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We examine the implications of end-to-end web application development, in the social web era. The paper describes a distributed architecture, suitable for modern web application development, as well as the interactivity components associated with it. Furthermore, we conducted a series of stress tests, on popular server side technologies. The PHP/Apache stack was found inefficient to address the increasing demand in network traffic. Nginx was found more than 2.5 times faster in input/output (I/O) operations than Apache, whereas Node.js outperformed both. Node.js, although excellent in I/O operations and resource utilization, was found lacking in serving static files using its built in HTTP server, while Nginx performed great at this task. So, in order to address efficiency, an Nginx server could be placed in-front and proxy static file requests, allowing the Node.js processes to only handle dynamic content. Such a configuration can offer a better infrastructure in terms of efficiency and scalability, replacing the aged PHP/Apache stack. Furthermore we have found that building cross platform applications based on web technologies, is both feasible and highly productive, especially when addressing stationary and mobile devices, as well as the fragmentation among them. Our study concludes that Node.js offers client-server development integration, aiding code reusability in web applications, and is the perfect tool for developing fast, scalable network applications.
引用
收藏
页码:1023 / 1044
页数:22
相关论文
共 31 条
  • [1] Cross-Platform Mobile Development: Challenges and Opportunities
    Amatya, Suyesh
    Kurti, Arianit
    [J]. ICT INNOVATIONS 2013: ICT INNOVATIONS AND EDUCATION, 2014, 231 : 219 - +
  • [2] [Anonymous], 2012, WHITE PAPER RAPIDVAL
  • [3] [Anonymous], 2013, PHP JUST GROWS GROWS
  • [4] [Anonymous], 2012, ER TRAFF MARK REP
  • [5] Antero T, 2011, SOFTW ENG ADV APPL S
  • [6] Chaniotis Ioannis K., 2013, Mobile Web Information Systems. 10th International Conference, MobiWIS 2013. Proceedings: LNCS 8093, P292, DOI 10.1007/978-3-642-40276-0_23
  • [7] DABEK F., 2002, P 10 WORKSH ACM SIGO
  • [8] Henning H, 2013, EVALUATING CROSS PLA
  • [9] Holzinger Andreas, 2012, Multidisciplinary Research and Practice for Information Systems. International Cross-Domain Conference and Workshop on Availability, Reliability and Security (CD-ARES 2012). Proceedings, P176, DOI 10.1007/978-3-642-32498-7_14
  • [10] IBM, 2007, INT TECHN SUPP ORG L