An Architecture for Fast and General Data Processing on Large Clusters

An Architecture for Fast and General Data Processing on Large Clusters

Matei Zaharia
ISBN: 9781970001563 | PDF ISBN: 9781970001570
Hardcover ISBN:9781970001594
Copyright © 2016 | 150 Pages | Publication Date: April, 2016

BEFORE YOU ORDER: You may have Academic or Corporate access to this title. Click here to find out:

Published by the Association for Computing Machinery and Morgan & Claypool.

Ordering Options: Paperback $54.95   E-book $43.96   Paperback & E-book Combo $68.69
Hardcover $89.95   Hardcover & E-book Combo $112.44

Why pay full price? Members receive 15% off all orders.
Learn More Here

Read Our Digital Content License Agreement (pop-up)

Purchasing Options:

This book, a revised version of the 2014 ACM Dissertation Award winning dissertation, proposes an architecture for cluster computing systems that can tackle emerging data processing workloads at scale. Whereas early cluster computing systems, like MapReduce, handled batch processing, our architecture also enables streaming and interactive queries, while keeping MapReduce's scalability and fault tolerance. And whereas most deployed systems only support simple one-pass computations (e.g., SQL queries), ours also extends to the multi-pass algorithms required for complex analytics like machine learning. Finally, unlike the specialized systems proposed for some of these workloads, our architecture allows these computations to be combined, enabling rich new applications that intermix, for example, streaming and batch processing.

We achieve these results through a simple extension to MapReduce that adds primitives for data sharing, called Resilient Distributed Datasets (RDDs). We show that this is enough to capture a wide range of workloads. We implement RDDs in the open source Spark system, which we evaluate using synthetic and real workloads. Spark matches or exceeds the performance of specialized systems in many domains, while offering stronger fault tolerance properties and allowing these workloads to be combined. Finally, we examine the generality of RDDs from both a theoretical modeling perspective and a systems perspective.

This version of the dissertation makes corrections throughout the text and adds a new section on the evolution of Apache Spark in industry since 2014. In addition, editing, formatting, and links for the references have been added.

The past few years have seen a major change in computing systems, as growing data volumes and stalling processor speeds require more and more applications to scale out to clusters. Today, a myriad data sources, from the Internet to business operations to scientific instruments, produce large and valuable data streams. However, the processing capabilities of single machines have not kept up with the size of data. As a result, organizations increasingly need to scale out their computations over clusters.

At the same time, the speed and sophistication required of data processing have grown. In addition to simple queries, complex algorithms like machine learning and graph analysis are becoming common. And in addition to batch processing, streaming analysis of real-time data is required to let organizations take timely action. Future computing platforms will need to not only scale out traditional workloads, but support these new applications too.

Table of Contents

1. Introduction
1.1 Problems with Specialized Systems
1.2 Resilient Distributed Datasets (RDDs)
1.3 Models Implemented over RDDs
1.4 Summary of Results
1.5 Dissertation Plan

2. Resilient Distributed Datasets
2.1 Introduction
2.2 RDD Abstraction
2.3 Spark Programming Interface
2.4 Representing RDDs
2.5 Implementation
2.6 Evaluation
2.7 Discussion
2.8 Related Work
2.9 Summary

3. Models Built over RDDs
3.1 Introduction
3.2 Techniques for Implementing Other Models on RDDs
3.3 Shark: SQL on RDDs
3.4 Implementation
3.5 Performance
3.6 Combining SQL with Complex Analytics
3.7 Summary

4. Discretized Streams
4.1 Introduction
4.2 Goals and Background
4.3 Discretized Streams (D-Streams)
4.4 System Architecture
4.5 Fault and Straggler Recovery
4.6 Evaluation
4.7 Discussion
4.8 Related Work
4.9 Summary

5. Generality of RDDs
5.1 Introduction
5.2 Expressiveness Perspective
5.3 Systems Perspective
5.4 Limitations and Extensions
5.5 Related Work
5.6 Summary

6. Conclusion
6.1 Lessons Learned
6.2 Evolution of Spark in Industry
6.3 Future Work


About the Author(s)

Matei Zaharia, MIT and Databricks
Matei Zaharia is an Assistant Professor of Computer Science at MIT and Chief Technology Officer of Databricks. He received his PhD at UC Berkeley in 2013 and his undergraduate degree at the University of Waterloo in 2007. Matei's research covers distributed systems, networks and large-scale data processing. He has also been involved in the open source big data community since 2007, contributing to the Hadoop, Mesos, Tachyon and Spark projects.

Browse by Subject
ACM Books
IOP Concise Physics

0 items

Note: Registered customers go to: Your Account to subscribe.

E-Mail Address:

Your Name: