基于Nodejs的异步非阻塞服务器研究
Study of Asynchronous Non-Blocking Server Based on Nodejs
DOI: 10.12677/CSA.2013.33033, PDF, HTML,  被引量 下载: 4,501  浏览: 11,293 
作者: 李汝佳*, 胡 婧*:武汉大学珞珈学院
关键词: 服务器Nodejs高并发性能Server; Nodejs; High Concurrent; Performance
摘要: 传统的阻塞式多线程服务器体系在面对大数据量、长连接、高并发请求时常常遇到性能方面的局限,而新兴的Nodejs通过将最大连接数量更改到单个系统的流量来解决以上的瓶颈。本文旨在从工作方式和运行性能上探究Nodejs搭建的异步非阻塞服务器与传统的阻塞多线程服务器的区别。进而说明Nodejs在处理大数据量、长连接、高并发请求时的优越性。
Abstract: The old blocking multi-threaded server architecture always encounters the limitations of performance when it faces these problems such as large data, long connection, high concurrent requests. Nodejs will change the maximum number of connections to the flow of a single system to solve the bottleneck. This article aims to explore the difference between asynchronous non-blocking server and blocking multi-threaded server from work and running performance. Then it explains the superiority of Nodejs in processing large data, long connection and high concurrent requests.
文章引用:李汝佳, 胡婧. 基于Nodejs的异步非阻塞服务器研究[J]. 计算机科学与应用, 2013, 3(3): 191-194. http://dx.doi.org/10.12677/CSA.2013.33033

参考文献