检索规则说明: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年第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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.82.96