[Paper Review] Lachesis: Automated Generation of Persistent Partitionings for Big Data Applications.
Lachesis automates persistent partitioning in big data workloads by decomposing user-defined functions (UDFs) into analyzable sub-computations and using deep reinforcement learning to predict optimal partitioning strategies. This reduces shuffling overhead while improving cross-application data placement efficiency.
Persistent partitioning is effective in improving the performance by avoiding the expensive shuffling operation, while incurring relatively small overhead. However it remains a significant challenge to automate this process for Big Data analytics workloads that extensively use user defined functions. That is because user defined functions coded with an object-oriented language such as Python, Scala, Java, can contain arbitrary code that is opaque to the system and makes it hard to extract and reuse sub-computations for optimizing data placement. In addition, it is also challenging to predict the future workloads that may utilize the partitionings. We propose the Lachesis system, which allows UDFs to be decomposed into analyzable and reusable sub-computations and relies on a deep reinforcement learning model that infers which sub-computations should be used to partition the underlying data. This analysis is then used to automatically optimize the storage of the data across applications.
Motivation & Objective
- To address the challenge of automating persistent partitioning in big data systems that use complex, opaque UDFs written in object-oriented languages.
- To enable the system to analyze and extract reusable sub-computations from UDFs that are otherwise opaque to optimization.
- To predict future workloads that could benefit from pre-partitioned data, improving long-term data placement efficiency.
- To reduce expensive shuffling operations by proactively storing data in optimized partitioning schemes across multiple applications.
Proposed method
- Decomposes user-defined functions (UDFs) into analyzable, reusable sub-computations to expose optimization opportunities.
- Employs a deep reinforcement learning model to infer which sub-computations should be used for data partitioning based on workload patterns.
- Analyzes UDFs at the sub-computation level to identify data placement opportunities that avoid runtime shuffling.
- Uses historical and predicted workload access patterns to guide partitioning decisions for long-term performance gains.
- Integrates with big data platforms to persistently store data in partitioned formats based on learned strategies.
Experimental results
Research questions
- RQ1How can opaque, user-defined functions in big data workloads be analyzed and decomposed into reusable sub-computations for optimization?
- RQ2What machine learning approach can effectively predict which sub-computations should be used for persistent data partitioning across diverse workloads?
- RQ3To what extent can automated persistent partitioning reduce shuffling overhead in real-world big data analytics pipelines?
- RQ4How does the system adapt to evolving workloads and maintain performance gains over time?
Key findings
- Lachesis successfully decomposes complex UDFs into analyzable sub-computations, enabling optimization of data placement that would otherwise be infeasible.
- The deep reinforcement learning model accurately predicts optimal partitioning strategies, reducing the need for expensive shuffling operations.
- By pre-partitioning data based on predicted access patterns, Lachesis achieves significant performance improvements across multiple workloads.
- The system demonstrates that persistent partitioning, when automated and guided by learning, leads to measurable reductions in data processing overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.