一种高性能异步RPC框架的设计与实现  被引量:4

The Design and Implementation ofa High-Performance Asynchronous RPC Framework

在线阅读下载全文

作  者:于天 黄昶[1] Yu Tian;Huang Chang(East China Normal University,School of Information Science Technology,Shanghai200241,China)

机构地区:[1]华东师范大学信息科学与技术学院,上海200241

出  处:《信息通信》2018年第3期127-129,共3页Information & Communications

摘  要:为了研究RPC技术的原理以及提高性能和可用性的方案,设计并实现了一种名为Pretty RPC的RPC框架。Pretty共分三层:公共层,核心层和应用层。整体设计围绕高性能、高可扩展性,高可用性及高易用性等特点进行。采用Netty高性能异步通信框架用于信息交互;Protostuff框架提供对象序列化能力;JDK Proxy技术生成代理对象;Spring框架提供基于Io C的对象管理功能。最终实现了一种符合预期的RPC框架。经过此次研究实践,能够得出如下结论:基于改进Reactor模式的纯异步线程池通信模型的效率要高于传统多线程同步阻塞的通信模型;序列化算法的效率也是决定RPC性能的重要因素之一;基于Io C思想的软件设计方式能够有效提升软件的各项指标。In order to find the the solution to improve Remote Procedure Call(RPC) ’s performance and availability technology,implementing a framework of RPC named Pretty. There are three layers in this framework: The Communication Layer, the Proxy Layer and the Application Layer. The framework adopts a high-performance asynchronous communication framework named Netty for message interaction; The Protostuff framework provides serialization algorithm; JDK Proxy technology generated proxied objects; Spring framework provides the ability of managing Java Objectbased on the technology of Inversion of Control(Io C). And it can conclude from the research and practice: The asynchronous communication model with thread pool which is based on the improved Reactor pattern, is more efficient than the synchronous and blocked communication model with multithread; The efficiency of serialization algorithm is one of important factors to determine the RPC performance; The thought of the Io C can improve software indicatorseffectively.

关 键 词:远程过程调用 序列化 异步通信 Java技术栈 多机系统 软件架构 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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