arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.05711cs.DC
收藏

异构云环境下数据管道的全局优化

Global Optimization of Data Pipelines in Heterogeneous Cloud Environments

Erica Lin, Luna Xu, Suraj Bramhavar, Marco Montes de Oca, Sean Gorsky, Lingyun Yi, Arianna Groetsema, Jeffrey Chou

摘要:

云上的现代生产数据处理和机器学习管道是许多基于云的公司的关键组件。这些管道通常由复杂的工作流组成,这些工作流由有向无环图(DAG)表示。云环境对这些工作流很有吸引力,因为它具有异构实例和价格的广泛选择,可以为不同的性价比需求提供灵活性。然而,这种灵活性也导致选择正确的资源配置的复杂性(例如,实例类型、资源需求),同时使用选定的资源调度任务,以达到最佳的端到端性能和成本。这两个决策往往是相互依赖的,导致NP-难调度优化瓶颈。现有的解决方案只关注这两个问题中的任何一个,而忽略了端到端优化的共同影响。我们提出了AGORA,一个调度器,同时考虑任务级资源分配和执行DAG工作流作为一个整体,在异构云环境。AGORA首先(1)研究先前运行的任务的特征,并给出资源配置的预测,并且(2)自动为整个工作流找到最佳配置及其相应的调度,具有成本性能目标。我们在异构的Amazon Web Services(AWS)云环境中评估AGORA,其中多租户工作流由Airflow提供服务,与最先进的服务器相比,性能提高了45%,成本降低了77%。此外,我们将AGORA应用于阿里巴巴的实际生产跟踪,并显示成本降低了65%,DAG完成时间缩短了57%。

英文摘要:

Modern production data processing and machine learning pipelines on the cloud are critical components for many cloud-based companies. These pipelines are typically composed of complex workflows represented by directed acyclic graphs (DAGs). Cloud environments are attractive to these workflows due to the wide range of choice with heterogeneous instances and prices that can provide the flexibility for different cost-performance needs. However, this flexibility also leads to the complexity of selecting the right resource configuration (e.g., instance type, resource demands) for each task in the DAG, while simultaneously scheduling the tasks with the selected resources to reach the optimal end-to-end performance and cost. These two decisions are often codependent resulting in an NP-hard scheduling optimization bottleneck. Existing solutions only focus solely on either problem and ignore the co-effect on the end-to-end optimum. We propose AGORA, a scheduler that considers both task-level resource allocation and execution for DAG workflows as a whole in heterogeneous cloud environments. AGORA first (1) studies the characteristics of the tasks from prior runs and gives predictions on resource configurations, and (2) automatically finds the best configuration with its corresponding schedules for the entire workflow with a cost-performance objective. We evaluate AGORA in a heterogeneous Amazon Web Services (AWS) cloud environment with multi-tenant workflows served by Airflow and demonstrate a performance improvement up to 45% and cost reduction up to 77% compared to state-of-the-art schedulers. In addition, we apply AGORA to a real-world production trace from Alibaba and show cost reduction of 65% and DAG completion time reduction of 57%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑