Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

        
AI编程,程序员挑战年入30~100万高级指南 - 职业规划
SpringBoot+SpringSecurity+Vue权限系统高级实战课程        

IDEA永久激活

Java微信小程序电商实战课程(SpringBoot+VUe)

     

AI人工智能学习大礼包

     

PyCharm永久激活

66套java实战课程无套路领取

     

Cursor+Claude AI编程 1天快速上手视频教程

     
当前位置: 主页 > Java文档 > 大数据云计算 >

最优化Spark应用的性能 使用低成本的层次化方案加速大数据处理-俞育才 PDF 下载


时间:2021-01-23 10:17来源:http://www.java1234.com 作者:转载  侵权举报
最优化Spark应用的性能 使用低成本的层次化方案加速大数据处理-俞育才 PDF 下载
失效链接处理
最优化Spark应用的性能 使用低成本的层次化方案加速大数据处理-俞育才  PDF 下载


 
本站整理下载:
提取码:zbpm 
 
 
相关截图:
 
主要内容:


Software Tuning – Partition
• Tasks number are decided by RDD’s partition number.
• How to choose proper partition number? 
- If there are fewer partition than available cores, the tasks won’t be taking 
advantage of all CPU.
- Fewer partition, bigger data size, it means that more memory pressure 
especially in join, cogroup, *ByKey etc. 
- If the number is too large, more tasks, more iterative, more time.
- Too large also puts more pressure in disk. When shuffle read, it leads to more 
small segment to fetch, especially worse in HDDs. - Set a big number to make application run success, decrease it gradually to 
reach best performance point, pay attention to the GC.
- Sometimes, changing partition number to avoid data incline, checking this info 
from WebUI

 

------分隔线----------------------------


锋哥推荐