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%.
翻译:云层上的现代生产数据处理和机器学习管道是许多云型公司的关键组成部分。这些管道通常由具有定向循环图(DAGs)的复杂工作流程组成。云层环境对这些工作流程具有吸引力,因为选择范围很广,选择的方式多种多样,不同的事例和价格可以灵活地满足不同的成本效益需求。然而,这种灵活性还导致为DAG的每项任务选择正确的资源配置(例如,实例类型、资源需求)的复杂性,同时用选定的资源安排任务,以达到最佳端对端业绩和成本。这两项决定往往取决于以NP-硬的时间安排优化瓶颈为主的复杂工作流程。现有的解决方案只侧重于问题和对端对端对最佳成本业绩需求的共同影响。我们建议AGORA是一个时间表,该时间表既考虑任务级别资源分配,又考虑在云型环境上整体执行DAGG工作流程。AGRA首先(1)研究任务从前运行到资源配置的轨迹特征特征,对资源配置作出预测。这些决定往往取决于NPA-硬性排程优化的优化瓶颈。现有解决方案仅侧重于问题,而忽视对端端端端端端端对端端端端端端-AAAAA的流程的进度的进度,我们通过运行的运行的流程进行相应的进度,通过运行到路路路路路路路段的进度,我们通过运行到路路段对冲局的进度对冲压的进度对冲算。我们路程进行最佳成本评估。