引用本文:吴信东,嵇圣硙.MapReduce与Spark用于大数据分析之比较.软件学报,2018,29(6):1770-1791
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 7132次   下载 16205 本文二维码信息
码上扫一扫!
分享到: 微信 更多
MapReduce与Spark用于大数据分析之比较
吴信东1,2, 嵇圣硙1
1.合肥工业大学 计算机与信息学院, 安徽 合肥 230009;2.School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette 70504, USA
摘要:
评述了MapReduce与Spark两种大数据计算算法和架构,从背景、原理以及应用场景进行分析和比较,并对两种算法各自优点以及相应的限制做出了总结.当处理非迭代问题时,MapReduce凭借其自身的任务调度策略和shuffle机制,在中间数据传输数量以及文件数目方面的性能要优于Spark;而在处理迭代问题和一些低延迟问题时,Spark可以根据数据之间的依赖关系对任务进行更合理的划分,相较于MapReduce,有效地减少了中间数据传输数量与同步次数,提高了系统的运行效率.
关键词:  大数据  MapReduce  Spark  迭代问题  非迭代问题
DOI:10.13328/j.cnki.jos.005557
分类号:
基金项目:国家重点研发计划(2016YFB1000901);国家自然科学基金(91746209);教育部创新团队项目(IRT17R3)
Comparative Study on MapReduce and Spark for Big Data Analytics
WU Xin-Dong1,2, JI Sheng-Wei1
1.School of Computer Science and Information Engineering, Hefei University of Technology, Hefei 230009, China;2.School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette 70504, USA
Abstract:
This paper reviews two state-of-the-art algorithmic architectures, MapReduce and Spark, and compares them from their backgrounds, principles and application scenarios. The advantages and their corresponding limitations of these two algorithms are summarized. When dealing with non-iterative problems, MapReduce, by virtue of its task scheduling strategy and shuffle mechanisms, performs better than Spark in terms of intermediate data transfers and number of files. Spark can be used to deal with iterative problems and low latency issues, as it divides a computing task according to the dependencies between the data and the task. Compared with MapReduce, Spark can effectively reduce the number of intermediate data transmissions and the number of synchronizations, and improve the running efficiency of computing systems.
Key words:  big data  MapReduce  Spark  iterative problems  non-iterative problems

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: