检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:胡喜明 胡淼[1] HU Xi-ming;HU Miao(School of Communication Engineering,Hangzhou Dianzi University,Hangzhou 310018,China)
机构地区:[1]杭州电子科技大学通信工程学院,浙江杭州310018
出 处:《计算机工程与设计》2021年第9期2408-2416,共9页Computer Engineering and Design
基 金:国家自然科学基金项目(61705055)。
摘 要:针对远程过程调用(RPC)系统无法支持响应式流编程(reactive stream)的问题,设计并实现基于响应式编程的RPC系统。采用基于响应式编程的Reactor-netty组件作为RPC底层通信框架,采用Zookeeper作为系统的注册中心,集成Kryo作为通讯序列化方式,设计并实现一种动态的负载均衡方案,针对java原生串行外设接口(SPI)功能进行优化,为RPC框架提供扩展机制。测试结果表明,该方案相较以Netty作为通信框架的RPC系统在性能方面有一定提升,该系统支持响应式方法的调用,适用于Java响应式编程的分布式项目开发。To solve the problem that remote procedure call(RPC)system can not support reactive stream programming,based on responsive programming,an RPC system was designed and implemented.Reactor-netty component based on responsive programming was adopted in the system as the underlying communication framework of RPC.Zookeeper was used as the registration center of the system.Kryo was integrated as the communication serialization method.The function of java native serial peripheral interface(SPI)was optimized,providing an extension mechanism for the RPC framework.Tests verify that this solution has a certain improvement in performance compared to the RPC system that uses Netty as the communication framework.And the system supports the invocation of responsive methods,which is suitable for distributed project development of Java reactive programming.
关 键 词:远程过程调用 响应式流 串行外设接口 负载均衡 序列化
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.85