Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
Tài liệu giới thiệu về tính toán phân tán sử dụng Apache Spark, so sánh mô hình luồng dữ liệu với lập trình mạng truyền thống, hạn chế của MapReduce và kiến trúc RDD của Spark.
正在生成预览...
Distributed Computing with Spark Reza Zadeh Thanks to Matei Zaharia Problem Data growing faster than processing speeds Only solution is to parallelize on large clusters » Wide use in both enterprises and web industry How do we program these things? Outline Data flow vs. traditional network programming Limitations of MapReduce Spark computing engine Machine Learning Example Current State of Spark Ecosystem Built-in Libraries Data flow vs. traditional network programming Traditional Network Programming Message-passing between nodes (e.g. MPI) Very difficult to do at scale: » How to split problem across nodes? Must consider network & data locality » How to deal with failures? (inevitable at scale) » Even worse: stragglers (node not failed, but slow) » Ethernet networking not fast » Have to write programs for each machine Rarely used in commodity datacenters Data Flow Models Restrict the programming interface so that the system can do more automatically Express jobs as graphs of high-level operators » System picks how to split each operator into tasks and where to run each task » Run parts twice fault recovery Map Biggest example: MapReduce Reduce Map Map Reduce Example MapReduce Algorithms Matrix-vector multiplication Power iteration (e.g. PageRank) Gradient descent methods Stochastic SVD Tall skinny QR Many others! Why Use a Data Flow Engine? Ease of programming » High-level functions instead of message passing Wide deployment » More common than MPI, especially “near” data Scalability to very largest clusters » Even HPC world is now concerned about resilience Examples: Pig, Hive, Scalding, Storm Limitations of MapReduce Limitations of MapReduce MapReduce is great at one-pass computation, but inefficient for multi-pass algorithms No efficient primitives for data sharing » State between steps goes to distributed file system » Slow due to replication & disk storage Example: Iterative Apps file system" read file system" write file system" re
… 下载原始文件以阅读完整文档。
- 文档名称
- Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
- 学校 / 课程
- Stanford University · Big Data
- 内容
- Tài liệu giới thiệu điện toán phân tán và Spark như một giải pháp cho vấn đề dữ liệu lớn. Nó phân tích hạn chế của MapReduce và trình bày kiến trúc Spark với RDDs, cách xử lý lỗi và các API hỗ trợ.
- 目录
- Problem
- Outline
- Data flow vs. traditional network programming
- Traditional Network Programming
- Data Flow Models
- Example MapReduce Algorithms
- Why Use a Data Flow Engine?
- Limitations of MapReduce
- Example: Iterative Apps
- Example: PageRank
- Result
- Spark computing engine
- Spark Computing Engine
- Resilient Distributed Datasets (RDDs)
- Key Idea
- Python, Java, Scala, R
- Fault Tolerance
- 页数
- 47 页
- 上传者
- Uni24h
常见问题
此文档免费吗?
是的。“Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 47 页,适用于课程 Big Data。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。

评论 (0)
暂无评论。快来抢沙发吧!