需要双方配合:通过双向参与的资源适配实现无服务器工作流服务
It Takes Two to Tango: Serverless Workflow Serving via Bilaterally Engaged Resource Adaptation
AI总结:
针对无服务器平台因早期绑定函数规模导致的资源低效问题,提出Janus框架,通过晚期绑定动态适配函数规模,弥合开发者与提供者的信息壁垒,实现资源效率提升达34.7%。
摘要:
无服务器平台通常采用早期绑定方法进行函数规模确定,要求开发者预先为工作流中的每个函数指定不可变的规模。考虑到潜在的运行时可变性,开发者必须按最坏情况确定函数规模以确保服务级别目标(SLOs),导致显著的资源低效。为解决这一问题,我们提出Janus,一种适用于无服务器平台的新型资源适配框架。Janus采用晚期绑定方法,允许根据运行时条件动态调整函数规模。主要挑战在于开发者与提供者之间的信息壁垒:开发者无法获取运行时信息,而提供者缺乏关于工作流的领域知识。为弥合这一差距,Janus允许开发者提供包含资源适配规则和选项的提示。提供者随后根据这些提示,基于实时函数执行信息动态调整资源分配,确保符合SLOs。我们实现了Janus并使用真实世界的无服务器工作流进行了广泛实验。结果表明,与最先进的方法相比,Janus将资源效率提升了高达34.7%。
英文摘要:
Serverless platforms typically adopt an early-binding approach for function sizing, requiring developers to specify an immutable size for each function within a workflow beforehand. Accounting for potential runtime variability, developers must size functions for worst-case scenarios to ensure service-level objectives (SLOs), resulting in significant resource inefficiency. To address this issue, we propose Janus, a novel resource adaptation framework for serverless platforms. Janus employs a late-binding approach, allowing function sizes to be dynamically adapted based on runtime conditions. The main challenge lies in the information barrier between the developer and the provider: developers lack access to runtime information, while providers lack domain knowledge about the workflow. To bridge this gap, Janus allows developers to provide hints containing rules and options for resource adaptation. Providers then follow these hints to dynamically adjust resource allocation at runtime based on real-time function execution information, ensuring compliance with SLOs. We implement Janus and conduct extensive experiments with real-world serverless workflows. Our results demonstrate that Janus enhances resource efficiency by up to 34.7% compared to the state-of-the-art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。