首页> 外文期刊>Computing >Is Node.js a viable option for building modern web applications? A performance evaluation study
【24h】

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

机译:Node.js是构建现代Web应用程序的可行选择吗?绩效评估研究

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:在社交网络时代,我们研究了端到端Web应用程序开发的含义。本文描述了适用于现代Web应用程序开发的分布式体系结构以及与之关联的交互组件。此外,我们对流行的服务器端技术进行了一系列压力测试。人们发现,PHP / Apache堆栈无法有效解决日益增长的网络流量需求。发现Nginx在输入/输出(I / O)操作上的速度是Apache的2.5倍以上,而Node.js的性能均优于Apache。 Node.js虽然在I / O操作和资源利用率方面都非常出色,但是却发现无法使用其内置的HTTP服务器来提供静态文件,而Nginx在此任务上表现出色。因此,为了提高效率,可以将Nginx服务器放在最前面并代理静态文件请求,从而允许Node.js进程仅处理动态内容。这样的配置可以在效率和可伸缩性方面提供更好的基础结构,从而替代陈旧的PHP / Apache堆栈。此外,我们发现基于Web技术构建跨平台应用程序既可行又高效,特别是在处理固定设备和移动设备以及它们之间的碎片化时。我们的研究得出结论,Node.js提供了客户端-服务器开发集成,有助于Web应用程序中的代码可重用性,并且是开发快速,可扩展的网络应用程序的理想工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号