AI summary · arXiv: 2211.10889v1 · cs.DB

Metadata Caching in Presto: Towards Fast Data Processing

Beinan Wang, Chunxu Tang, Rongrong Zhong, Bin Fan, Yi Wang, Jasmine Wang, Shouwei Chen, Bowen Ding,

and 1 more authorLu Zhang

Original paper · DOI Submitted to arXiv on 20 Nov. 2022 5 pages, 8 figures License: NONEXCLUSIVE-DISTRIB 1.0

The essentials

  • Presto is an open-source distributed SQL query engine for OLAP
  • Presto has gained significant popularity in large-scale data analytics
  • Parsing column-oriented data files in Presto consumes a considerable amount of CPU resources
  • The authors propose a metadata caching layer as a solution to this issue
  • The caching layer is built on top of the Alluxio SDK cache and integrated into each Presto worker node
  • Two methods of caching are offered: caching decompressed metadata bytes and caching deserialized metadata objects
  • Experiments using the TPC-DS benchmark show that both methods can reduce CPU consumption during queries
  • The first method reduces CPU consumption by 10%-20% when the cache is warm
  • The second method achieves even greater reductions, reducing CPU usage by 20%-40%
  • This approach improves data processing efficiency in Presto and enables handling larger volumes of analytical data effectively.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Presto Metadata Caching Layer CPU Consumption TPC-DS Benchmark Alluxio SDK Cache

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
Presto is an open-source distributed SQL query engine that aims to provide "SQL on everything" for OLAP (Online Analytical Processing). Since its release in 2013, Presto has gained significant popularity in the field of large-scale data analytics and has been adopted by numerous enterprises. However, during the development and operation of Presto, it was observed that parsing column-oriented data files in Presto worker nodes consumed a considerable amount of CPU resources. This issue hindered companies from scaling up their analytical data volumes. To address this problem, the authors propose a solution in the form of a metadata caching layer. This caching layer is built on top of the Alluxio SDK cache and is integrated into each Presto worker node. Its purpose is to cache intermediate results during file parsing. The metadata cache offers two methods of caching: caching decompressed metadata bytes from raw data files and caching deserialized metadata objects. In order to evaluate the effectiveness of their approach, the authors conducted experiments using the TPC-DS benchmark on Presto. The results demonstrate that when the cache is warm (i.e., already populated with relevant data), the first method can reduce CPU consumption during queries by 10%-20%. On the other hand, utilizing the second method can minimize CPU usage by an even greater extent, achieving reductions of 20%-40%. Overall, this paper presents a valuable contribution to improving data processing efficiency in Presto through the implementation of a metadata caching layer. By reducing CPU consumption during file parsing, this approach enables companies to handle larger volumes of analytical data effectively.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts
Journal club Slides to present it
For journalists Press kit and hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.