异步编程和反应式编程在网络软件开发中的应用  

Application of Asynchronous Programming and Reactive Programming in Network Software Development

在线阅读下载全文

作  者:俱源懋 JU Yuanmao(Petro China Southwest Oil&Gas Field Digital Intelligent Technology Branch Company,Chengdu Sichuan 610041)

机构地区:[1]中国石油西南油气田数字智能技术分公司,四川成都610041

出  处:《软件》2024年第1期60-65,共6页Software

摘  要:随着智能油气田的建设,数据服务将发挥越来越重要的作用,对提供数据服务应用系统的容量、健壮性、响应时间等性能也提出了更高的要求,其反应式系统所要解决的问题与此相同。本文将从经典的服务器模型出发,并逐步引出异步编程和反应式编程,同时介绍异步编程与反应式编程的生态,最后以常见的Spring框架为例,比较了Spring框架反应式技术栈和传统技术栈的性能差异,得出了反应式技术栈相比于传统技术栈在处理高并发请求时有更好性能的结论。通过对反应式相关概念的研究,可为后续的信息系统建设提供一种新的思路。With the construction of intelligent oil and gas fields,data services will play an increasingly important role,and higher requirements have been put forward for the capacity,robustness,response time,and other performance of data service application systems.The problems that their reactive systems need to solve are the same.This article will start from the classic server models,and gradually lead to asynchronous programming and reactive programming.At the same time,it will introduce the ecology of asynchronous programming and reactive programming.Finally,taking the common Spring framework as an example,it compares the performance of Spring framework reactive technology stack and the performance of traditional technology stack,and it is found by tests that the reactive technology stack has better performance than the traditional technology stack in handling high concurrent requests.Through the research on the related concepts of reactive,it can provide a new way of thinking for the subsequent construction of information system.

关 键 词:异步编程 反应式编程 网络软件开发 架构设计 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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