Back to Search
Start Over
Clockwork: A Delay-Based Global Scheduling Framework for More Consistent Landing Times in the Data Warehouse
- Source :
- KDD
- Publication Year :
- 2021
- Publisher :
- ACM, 2021.
-
Abstract
- Recurring batch data pipelines are a staple of the modern enterprise-scale data warehouse. As a data warehouse scales to support more products and services, a growing number of interdependent pipelines running at various cadences can give rise to periodic resource bottlenecks for the cluster. This resource contention results in pipelines starting at unpredictable times each day and consequently variable landing times for the data artifacts they produce. The variability gets compounded by the dependency structure of the workload, and the resulting unpredictability can disrupt the project workstreams which consume this data. We present Clockwork, a delay-based global scheduling framework for data pipelines which improves landing time stability by spreading out tasks throughout the day. Whereas most scheduling algorithms optimize for makespan or average job completion times, Clockwork's execution plan optimizes for stability in task completion times while also targeting predefined pipeline SLOs. We present this new problem formulation and design a list scheduling algorithm based on its analytic properties. We also discuss how we estimate the resource requirements for our recurring pipelines, and the architecture for integrating Clockwork with Dataswarm, Facebook's existing data workflow management service. Online experiments comparing this novel scheduling algorithm and a previously proposed greedy procrastinating heuristic show tasks complete almost an hour earlier on average, while exhibiting lower landing time variance and producing significantly less competition for resources in the cluster.
Details
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining
- Accession number :
- edsair.doi...........8f6ac2264629869f3ca97c5afb375a85