SAC: Dynamic Caching upon Sketch for In-Memory Big Data Analytics

Mingtao Ji, Mingxian Zhou, Haodong Zou, Ming Tang, Zhuzhong Qian, Xiaoliang WangBIGCOM 2023

Abstract

Caching intermediate results in memory, instead of flushing them to disks, actually shortens the completion of big data analytics, because there is no need to reload them for follow-up computations. Constrained by the limited memory, traditional approaches only cache part of the results due to explicit user triggers or simply their accesses, but fail to capture instantaneous system dynamics, including the execution order of parallel stages as well as the current uncompleted dependencies per stage. The data to be cached has to capture such system dynamics and minimize job completion. We thus design a dynamic caching mechanism (SAC) for big data analytics, by using both static sketch upon the stage dependencies in jobs’ preparation and the dynamic adjustment of the such sketch during the job’s execution. The static sketch essentially determines a minimal subset of stages in each job for maximizing the caching benefit while the dynamic adjustment tries to change the caching priority among pending stages. We implement our proposed SAC in Spark, and extensive experiments upon real-world workloads show that the SAC reduces the average job completion by at least 24.6%, compared with those state-of-the-art alternatives.
BibTeX
@inproceedings{ji2023sac,
  author = {Mingtao Ji and Mingxian Zhou and Haodong Zou and Ming Tang and Zhuzhong Qian and Xiaoliang Wang},
  title = {{SAC: Dynamic Caching upon Sketch for In-Memory Big Data Analytics}},
  booktitle = {BIGCOM},
  year = {2023},
  url = {https://openreview.net/forum?id=6N0sfW1pno},
}

Loading related content...

Figure