Saved in:
Bibliographic Details
Main Authors: Wu, Jing, Wang, Lin, Deng, Quanfeng, Yu, Chen, Zhang, Dong, Yan, Bingheng, Liu, Fangming
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.14320
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916622584774656
author Wu, Jing
Wang, Lin
Deng, Quanfeng
Yu, Chen
Zhang, Dong
Yan, Bingheng
Liu, Fangming
author_facet Wu, Jing
Wang, Lin
Deng, Quanfeng
Yu, Chen
Zhang, Dong
Yan, Bingheng
Liu, Fangming
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14320
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle It Takes Two to Tango: Serverless Workflow Serving via Bilaterally Engaged Resource Adaptation
Wu, Jing
Wang, Lin
Deng, Quanfeng
Yu, Chen
Zhang, Dong
Yan, Bingheng
Liu, Fangming
Distributed, Parallel, and Cluster Computing
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.
title It Takes Two to Tango: Serverless Workflow Serving via Bilaterally Engaged Resource Adaptation
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2502.14320