响应式编程在Web服务端的性能分析  

Performance analysis of web server side reactive programming

在线阅读下载全文

作  者:郦豪杰 郭煦(指导)[1] LI Haojie;GUO Xu(School of Electronic Information Engineering,Shanghai DianJi University,Shanghai 201306,China)

机构地区:[1]上海电机学院电子信息学院,上海201306

出  处:《上海电机学院学报》2025年第1期58-62,共5页Journal of Shanghai Dianji University

摘  要:针对传统基于命令式编程的架构在处理高并发请求时面临性能瓶颈的问题,提出了响应式编程以解决高并发请求下的性能瓶颈。首次,提出了4个关键性能基准点:吞吐量、平均响应时间、CPU占用率和网络带宽占用率,并应用其对响应式编程的性能进行定量评估;其次,在10台Linux服务器集群上,对比分析了传统命令式编程和响应式编程在服务端的性能表现。实验结果表明:响应式编程较命令式编程在吞吐量(TPS)上提升了11.64倍,平均响应时间(ART)降低了17.31倍,显著减少了CPU资源和网络带宽的占用;证实了响应式编程在高并发Web服务中的性能优势,为Web服务端的性能优化提供了新的视角和方法。With the rapid growth in demand for server-side web services,traditional architectures based on imperative programming encounter performance bottlenecks under highconcurency scenarios.Reactive programming has emerged as a promising solution to overcome these bottlenecks,offering superior server-side performance.To address the research gap in serverside performance analysis of reactive programming,this study is the first to propose and apply four key performance benchmarks—transactions per second(TPS),average response time(ART),CPU utilization,and network bandwidth utilizationfor quantitative performance evaluation.A comparative analysis was conducted using a 10-node Linux server cluster to evaluate the performance differences between traditional imperative programming and reactive programming.Experimental results demonstrate that reactive programming achieved an 11.64-fold increase in TPS and a 17.31-fold reduction in ART compared to imperative programming,while markedly decreasing CPU resource consumption and network bandwidth usage.These findings confirm the significant performance advantages of reactive programming in high-concurrency web services,offering novel perspectives and approaches for server-side performance optimization.

关 键 词:响应式编程 Web服务端 高并发 异步非阻塞 性能分析 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象