基于响应式的服务推送框架设计  被引量:9

Design of service push framework based on responsiveness

在线阅读下载全文

作  者:胡喜明 胡淼[1] HU Xi-ming;HU Miao(School of Communication Engineering,Hangzhou Dianzi University,Hangzhou 310018,China)

机构地区:[1]杭州电子科技大学通信工程学院,浙江杭州310018

出  处:《计算机工程与设计》2021年第8期2137-2143,共7页Computer Engineering and Design

基  金:国家自然科学基金项目(61705055);2020年度浙江省重点研发计划基金项目(2019C01G1121168)。

摘  要:针对现有物联网设备存在功能上的不足以及原生消息队列遥测传输协议(MQTT)存在性能瓶颈的问题,提出一种高性能服务推送框架设计方案。应用基于响应式编程的Reactor-Netty组件实现MQTT传输协议的设计模型,选取Redis作为数据缓存以及集群实现并搭建Kafka消息中间件,实现消息代理。经过系统安全测试以及大于3000次的传输响应测试,该方案相较原生MQTT框架以及Netty+MQTT框架在平均响应时间方面有较大提升,测试结果表明,该框架拥有良好的处理高并发的能力以及安全性。To solve the functional problems of existing IoT devices and the performance bottleneck of the native message queue telemetry transmission protocol(MQTT),a high-performance service push framework design scheme was proposed.In the solution,a Reactor-Netty component based on reactive programming was used to implement the design model of the MQTT transmission protocol.Redis was selected as the data cache and the cluster was implemented.Kafka message middleware was used to implement message broker.After system security testing and more than 3000 transmission response testing,the solution greatly improves the average response time compared to the native MQTT framework and the Netty+MQTT framework.The test verifies that the framework has good ability to handle high concurrency and security.

关 键 词:服务推送 响应式 消息队列遥测传输协议 消息代理 数据缓存 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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