[1]李思莉,杨井荣,苟 强.轻量级 Web 服务器的高并发技术研究与实现[J].计算机技术与发展,2020,30(10):75-78.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 014]
 LI Si-li,YANG Jing-rong,GOU Qiang.Research and Implementation of High-concurrency of Light Weight Web Server[J].,2020,30(10):75-78.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 014]
点击复制

轻量级 Web 服务器的高并发技术研究与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
30
期数:
2020年10期
页码:
75-78
栏目:
智能、算法、系统工程
出版日期:
2020-10-10

文章信息/Info

Title:
Research and Implementation of High-concurrency of Light Weight Web Server
文章编号:
1673-629X(2020)10-0075-04
作者:
李思莉杨井荣苟 强
成都理工大学 工程技术学院 电子信息与计算机工程系,四川 乐山 614000
Author(s):
LI Si-liYANG Jing-rongGOU Qiang
Department of Electronic Information and Computer Engineering,The Engineering & Technical College of Chengdu University of Technology,Leshan 614000,China
关键词:
高并发Vert. x同步非阻塞模式SpringMvc持久化层
Keywords:
high-concurrencyVert. xNIO modeSpringMvcpersistence layer
分类号:
TP302. 1
DOI:
10. 3969 / j. issn. 1673-629X. 2020. 10. 014
摘要:
主要研究并实现了使用 Vert. x 框架将同步非阻塞模式作为 Web 开发的 IO 模型,在轻量级 Web 服务器 Nginx 上利用高并发技术开发部署学分管理系统。 该系统不仅重构了 SpringMvc 三层架构,而且将原来的 3 层模型扩充为 5 层模型,缓解了高并发数据量对系统的压力。 在数据安全方面,改变了传统的利用数据库隔离机制来保证数据安全的低效做法,将对数据安全的保证放到持久化层的 Server 层。 在并行数据接收方面,利用线程池,数据缓冲技术,进一步提高了学分管理系统的处理效率。 除此之外,又通过创建多路复用的通信通道,着重在百万级并发的通信层面上对传统 Web 的开发方式进行了优化。 最后,通过实验与传统的 Web 的 IO 方式作对比,得出异步输入输出在 Web 的应用中完全能胜任百万级甚至更高的并发量的结论。
Abstract:
We mainly study and implement the use of Vert. x framework to take synchronous non blocking mode as the IO model of Web development,and adopt high concurrency technology to develop and deploy credit management system on the lightweight Web server Nginx. This system not only reconstr-ucts the three-tier structure of SpringMvc,but also expands the original three-tier model to five-tier model,which alleviates the pressure of high concurrent data volume on the system. In terms of data security,the traditional inefficient method of using database isolation mechanism to ensure data security is changed,and the guarantee of data security is put into the Server layer of persistence layer. In terms of parallel data receiving,the processing efficiency of credit management system is further improved by using thread pool and data buffer technology. In addition,? by creating a multiplex communication channel, the traditional Web development mode is optimized on the level of millions of concurrent communi-cation. Finally,by comparing the experiment with the traditional IO mode of Web,it is concluded that asynchronous input and output can be used in the application of Web with a concurrency of millions or more.

相似文献/References:

[1]张宇星,马明栋,王得玉.基于 Nginx 负载均衡的动态改进算法[J].计算机技术与发展,2020,30(03):73.[doi:10. 3969 / j. issn. 1673-629X. 2020. 03. 014]
 ZHANG Yu-xing,MA Ming-dong,WANG De-yu.A Dynamic Improvement Algorithm Based on Nginx Load Balancing[J].,2020,30(10):73.[doi:10. 3969 / j. issn. 1673-629X. 2020. 03. 014]
[2]耿晓利,张 芒,尹永宏.高并发高可用的分布式电商平台架构研究[J].计算机技术与发展,2021,31(02):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]
 GENG Xiao-li,ZHANG Mang,YIN Yong-hong.Research on Distributed E-commerce Platform Architecture with High Concurrency and High Availability[J].,2021,31(10):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]

更新日期/Last Update: 2020-10-10