arrow
返回

FaaSCtrl: A Comprehensive-Latency Controller for Serverless Platforms

delete2024-10-01
delete0
PRE
AI
A
Abhisek Panda *
S
Smruti R. Sarangi
DOI:10.1109/TCC.2024.3473015delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Serverless computing systems have become very popular because of their natural advantages with respect to auto-scaling, load balancing and fast distributed processing. As of today, almost all serverless systems define two QoS classes: best-effort (BE) and latency-sensitive (LS). Systems typically do not offer any latency or QoS guarantees for BE jobs and run them on a best-effort basis. In contrast, systems strive to minimize the processing time for LS jobs. This work proposes a precise definition for these job classes and argues that we need to consider a bouquet of performance metrics for serverless applications, not just a single one. We thus propose the comprehensive latency (CL) that comprises the mean, tail latency, median and standard deviation of a series of invocations for a given serverless function. Next, we design a system FaaSCtrl, whose main objective is to ensure that every component of the CL is within a prespecified limit for an LS application, and for BE applications, these components are minimized on a best-effort basis. Given the sheer complexity of the scheduling problem in a large multi-application setup, we use the method of surrogate functions in optimization theory to design a simpler optimization problem that relies on performance and fairness. We rigorously establish the relevance of these metrics through characterization studies. Instead of using standard approaches based on optimization theory, we use a much faster reinforcement learning (RL) based approach to tune the knobs that govern process scheduling in Linux, namely the real-time priority and the assigned number of cores. RL works well in this scenario because the benefit of a given optimization is probabilistic in nature, owing to the inherent complexity of the system. We show using rigorous experiments on a set of real-world workloads that FaaSCtrl achieves its objectives for both LS and BE applications and outperforms the state-of-the-art by 36.9% (for tail response latency) and 44.6% (for response latency's std. dev.) for LS applications.
Keyword:
Measurement
Tail
Quality of service
Standards
Optimization
Reinforcement learning
Real-time systems
Degradation
Schedules
Job colocation
serverless computing
performance interference
reinforcement learning
resource scheduling
resource scheduling

期刊

I
IEEE Transactions on Cloud Computing
IF:
5
论文数:
1.8K
被引数:
4.3K

机构

I
indian institute of technology system (iit system)
学者数:
9.5W
论文数: 9.9W
被引数: 93
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Forest stand structure, productivity, and age mediate climatic effects on aspen decline
err2014-08-01
err0
errOAAI
errDavid M. Bell; John B. Bradford; William K. Lauenroth
err分享
err收藏
Cloud Computing Assisted Blockchain-Enabled Internet of Things
err2022-01-01
err55
PREAI
errQiu, Chao; Yao, Haipeng; Jiang, Chunxiao; Guo, Song; Xu, Fangmin
err分享
err收藏
err分享
err收藏
Towards Minimizing Resource Usage With QoS Guarantee in Cloud Gaming
err2021-02-01
err13
PREAI
errLi, Yusen; Zhao, Changjian; Tang, Xueyan; Cai, Wentong; Liu, Xiaoguang; Wang, Gang; Gong, Xiaoli
err分享
err收藏
学者 查看更多内容