检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:顾振德 刘子辰[2] 龙隆[2] 牟林宏 Gu Zhende;Liu Ziehen;Long Long;Mou Linhong(School of Communication and Information Engineering, Chongqing University of Posts and Telecommunications,Chongqing 400065, China;Beijing Key Laboratory of Mobile Computing and Pervasive Device (Institute of Computing Technology, Chinese Academy of Sciences),Beijing 100190, China)
机构地区:[1]重庆邮电大学通信与信息工程学院,重庆400065 [2]移动计算与新型终端北京市重点实验室(中国科学院计算技术研究所),北京100190
出 处:《计算机应用与软件》2019年第4期135-139,共5页Computer Applications and Software
基 金:国家科技重大专项基金项目(2016ZX03002010-003)
摘 要:IoT终端高并发连接通信服务系统,造成服务器数据交互NIO线程数飙升,导致服务器宕机。对此分析异步非堵塞Netty框架,提出一种通信服务系统的设计方案。方案包含优化Netty设计,提出自定义通信协议,并结合自定义线程池进行数据接收、session管理、异常处理,日志记录,数据发送等主要模块的设计。经大于2 000并发测试表明,该方案的系统平均响应时间较Java NIO和Netty实现方案缩短了97%和95%,吞吐量提高了54%和33.2%。测试证明该设计具有较高的稳定性、可靠性以及高并发处理能力。The high concurrency of IoT terminal communication service system connections leads to the soaring number of NIO threads in server data interaction, which eventually leads to server downtime. To solve this problem, we analyzed the asynchronous non-blocking Netty framework and proposed a design scheme of communication service system. The design scheme included optimizing Netty design, putting forward self-defined communication protocol and system design which was divided into data receiving, session management, exception handling, log recording, data sending and other main modules, combining with the custom thread pool. The concurrent tests over 2 000 show that the average response time of the design scheme is 97% and 95% shorter than that of Java NIO and Netty scheme, and the throughput is increased by 54% and 33. 2%. The test proves that the system has high stability, reliability and concurrent processing ability.
关 键 词:Netty 高并发 自定义线程池 JAVA NIO 吞吐量
分 类 号:TN915[电子电信—通信与信息系统] TP3[电子电信—信息与通信工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117