Execution Templates:缓存控制平面决策,实现数据分析的强大扩展
Execution Templates: Caching Control Plane Decisions for Strong Scaling of Data Analytics
摘要:
云框架的控制平面在调度粒度和性能之间进行权衡。集中式系统按任务粒度进行调度,但每秒只能调度几千个任务。分布式系统每秒调度数十万个任务,但更改调度的成本很高。我们提出了执行模板,一个控制平面的抽象,可以调度每秒数十万的任务,同时支持细粒度的,每任务的调度决策。执行模板利用程序的重复控制流来缓存频繁执行的任务块。在模板中执行任务需要发送一条消息。大规模的计划更改会安装新模板,而小的更改会将编辑应用到现有模板。对Nimbus(一种数据分析框架)中的执行模板进行评估发现,它们提供了集中式控制平面的细粒度调度灵活性,同时匹配分布式控制平面的强大扩展性。执行模板支持复杂的实际应用程序,例如具有三重嵌套循环和数据相关分支的流体模拟。
英文摘要:
Control planes of cloud frameworks trade off between scheduling granularity and performance. Centralized systems schedule at task granularity, but only schedule a few thousand tasks per second. Distributed systems schedule hundreds of thousands of tasks per second but changing the schedule is costly. We present execution templates, a control plane abstraction that can schedule hundreds of thousands of tasks per second while supporting fine-grained, per-task scheduling decisions. Execution templates leverage a program's repetitive control flow to cache blocks of frequently-executed tasks. Executing a task in a template requires sending a single message. Large-scale scheduling changes install new templates, while small changes apply edits to existing templates. Evaluations of execution templates in Nimbus, a data analytics framework, find that they provide the fine-grained scheduling flexibility of centralized control planes while matching the strong scaling of distributed ones. Execution templates support complex, real-world applications, such as a fluid simulation with a triply nested loop and data dependent branches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。