Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
Generating preview...
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.
Description
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
AI summary
- Document name
- Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
- School / Course
- Stanford University · Big Data
- Content
- 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ợ.
- Table of contents
- 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
- Pages
- 47 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 47 pages, for the course Big Data. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
Generating preview...
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
Read full document
- Document name
- Distributed Computing with Spark (Tính toán phân tán với Spark) - Reza Zadeh
- School / Course
- Stanford University · Big Data
- Content
- 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ợ.
- Table of contents
- 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
- Pages
- 47 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
Neumann (mối quan hệ giữa Exascale Computing và Big Data) - Philipp Neumann
Tính toán trong bộ nhớ với Spark - Julian M. Kunkel
Intro to Mapreduce (02) (Giới thiệu về MapReduce và Hadoop) (Tiếng Anh)
GPUs (04) (Xử lý song song và bộ xử lý đồ họa)
Neo4j (08) (Xử lý đồ thị với Neo4j) - BigData Analytics - Julian M. Kunkel
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Comments (0)
No comments yet. Be the first!