检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:郦豪杰 郭煦(指导)[1] LI Haojie;GUO Xu(School of Electronic Information Engineering,Shanghai DianJi University,Shanghai 201306,China)
出 处:《上海电机学院学报》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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49