首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于深度强化学习的Spark Streaming参数优化方法
引用本文:刘露,申国伟,郭春,崔允贺,蒋朝惠,伍大勇. 一种基于深度强化学习的Spark Streaming参数优化方法[J]. 计算机与现代化, 2021, 0(10): 49-56. DOI: 10.3969/j.issn.1006-2475.2021.10.008
作者姓名:刘露  申国伟  郭春  崔允贺  蒋朝惠  伍大勇
作者单位:贵州大学计算机科学与技术学院,贵州 贵阳 550025;贵州省软件工程与信息安全特色重点实验室,贵州 贵阳 550025;科大讯飞股份有限公司,安徽 合肥 230011
基金项目:国家自然科学基金资助项目(62062022); 贵州省科学技术基金资助项目(黔科合基础[2017]1051); 国家重点研发计划项目(2018YFC0807701)
摘    要:Spark Streaming作为主流的开源分布式流分析框架,性能优化是目前的研究热点之一。在Spark Streaming性能优化中,业务场景下的配置参数优化是其性能提升的重要因素。在Spark Streaming系统中,可配置的参数有200多个,对参数调优人员的经验要求较高,未经优化的参数配置会影响流作业执行性能。因此,针对Spark Streaming的参数配置优化问题,提出一种基于深度强化学习的Spark Streaming参数优化方法(DQN-SSPO),将Spark Streaming参数优化配置问题转化为深度强化学习模型训练中的最大回报获得问题,并提出权重状态空间转移方法来增加模型训练获得高反馈奖励的概率。在3种典型的流分析任务上进行实验,结果表明经参数优化后Spark Streaming上的流作业性能在总调度时间上平均缩减27.93%,在总处理时间上平均缩减42%。

关 键 词:Spark Streaming  性能优化  深度强化学习  参数调优  
收稿时间:2021-10-14

A Spark Streaming Parameter Optimization Method Based on Deep Reinforcement Learning
LIU Lu,SHEN Guo-wei,GUO Chun,CUI Yun-he,JIANG Chao-hui,WU Da-yong. A Spark Streaming Parameter Optimization Method Based on Deep Reinforcement Learning[J]. Computer and Modernization, 2021, 0(10): 49-56. DOI: 10.3969/j.issn.1006-2475.2021.10.008
Authors:LIU Lu  SHEN Guo-wei  GUO Chun  CUI Yun-he  JIANG Chao-hui  WU Da-yong
Abstract:Spark Streaming is the mainstream open source distributed stream analysis framework, and its performance optimization is one of the current research hotspots. In Spark Streaming performance optimization, configuration parameter optimization in business scenarios is an important factor in its performance improvement. In the Spark Streaming system, there are more than 200 configurable parameters, which requires high experience for parameter tuning personnel. Non optimized parameter configuration will affect the execution performance of streaming jobs. Therefore, in view of the parameter configuration optimization problem of Spark Streaming, a Spark Streaming parameter optimization method based on deep reinforcement learning (DQN-SSPO) is proposed, which converts the parameter optimization configuration problem of Spark Streaming into the problem of obtaining the maximum return in deep reinforcement learning model training, and a weighted state space transfer method is proposed to increase the probability of high feedback rewards for model training. Experiments on three typical streaming analysis tasks show that the performance of streaming jobs on Spark Streaming after parameter optimization is reduced by 27.93% in total scheduling time and 42% in total processing time.
Keywords:Spark Streaming  performance optimization  deep reinforcement learning  parameter tuning  
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机与现代化》浏览原始摘要信息
点击此处可从《计算机与现代化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号