Skip to main navigation Skip to search Skip to main content

Intermediate Data Caching Optimization for Multi-Stage and Parallel Big Data Frameworks

  • Zhengyu Yang
  • , Danlin Jia
  • , Stratis Ioannidis
  • , Ningfang Mi
  • , Bo Sheng
  • College of Engineering

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

In the era of big data and cloud computing, large amounts of data are generated from user applications and need to be processed in the datacenter. Data-parallel computing frameworks, such as Apache Spark, are widely used to perform such data processing at scale. Specifically, Spark leverages distributed memory to cache the intermediate results, represented as Resilient Distributed Datasets (RDDs). This gives Spark an advantage over other parallel frameworks for implementations of iterative machine learning and data mining algorithms, by avoiding repeated computation or hard disk accesses to retrieve RDDs. By default, caching decisions are left at the programmer's discretion, and the LRU policy is used for evicting RDDs when the cache is full. However, when the objective is to minimize total work, LRU is woefully inadequate, leading to arbitrarily suboptimal caching decisions. In this paper, we design an algorithm for multi-stage big data processing platforms to adaptively determine and cache the most valuable intermediate datasets that can be reused in the future. Our solution automates the decision of which RDDs to cache: this amounts to identifying nodes in a direct acyclic graph (DAG) representing computations whose outputs should persist in the memory. Our experiment results show that our proposed cache optimization solution can improve the performance of machine learning applications on Spark decreasing the total work to recompute RDDs by 12%.

Original languageEnglish
Title of host publicationProceedings - 2018 IEEE International Conference on Cloud Computing, CLOUD 2018 - Part of the 2018 IEEE World Congress on Services
PublisherIEEE Computer Society
Pages277-284
Number of pages8
ISBN (Electronic)9781538672358
DOIs
StatePublished - Sep 7 2018
Event11th IEEE International Conference on Cloud Computing, CLOUD 2018 - San Francisco, United States
Duration: Jul 2 2018Jul 7 2018

Publication series

NameIEEE International Conference on Cloud Computing, CLOUD
Volume2018-July
ISSN (Print)2159-6182
ISSN (Electronic)2159-6190

Conference

Conference11th IEEE International Conference on Cloud Computing, CLOUD 2018
Country/TerritoryUnited States
CitySan Francisco
Period7/2/187/7/18

ASJC Scopus Subject Areas

  • Artificial Intelligence
  • Information Systems
  • Software

Keywords

  • Cache Optimization
  • Inter-mediate Data Overlapping
  • Multi-stage Framework
  • Spark

Fingerprint

Dive into the research topics of 'Intermediate Data Caching Optimization for Multi-Stage and Parallel Big Data Frameworks'. Together they form a unique fingerprint.

Cite this