Reducing response latency of composite functions-as-a-service through scheduling

计算机科学 调度(生产过程) 延迟(音频) 响应时间 复合数 分布式计算 并行计算 操作系统 电信 数学优化 算法 数学
作者
Paweł Żuk,Krzysztof Rządca
出处
期刊:Journal of Parallel and Distributed Computing [Elsevier BV]
卷期号:167: 18-30 被引量:5
标识
DOI:10.1016/j.jpdc.2022.04.011
摘要

• Function composition is a recent addition to Function-as-a-Service model. • Scheduling algorithms can be adjusted to the FaaS composition specificity. • Considering the FaaS composition structure can lead to lower response latencies. In Function-as-a-Service (FaaS) clouds, customers deploy to cloud individual functions, in contrast to complete virtual machines (IaaS) or Linux containers (PaaS). FaaS offerings are available in the largest public clouds (Amazon Lambda, Google Cloud Functions, Azure Serverless); there are also popular open-source implementations (Apache OpenWhisk) with commercial offerings (Adobe I/O Runtime, IBM Cloud Functions). A recent addition to FaaS is the ability to compose functions: a function may call another functions, which, in turn, may call yet another function — forming a directed acyclic graph (DAG) of invocations. From the perspective of the infrastructure, a composed function is less opaque than a virtual machine or a container. We show that this additional information about the internal structure of the function enables the infrastructure provider to reduce the response latency. In particular, knowing the successors of a function in a DAG, the infrastructure can schedule these future invocations along with necessary preparation of environments. We model resource management in FaaS as a scheduling problem combining (1) sequencing of invocations; (2) deploying execution environments on machines; and (3) allocating invocations to deployed environments. For each aspect, we propose heuristics that employ FaaS-specific features. We explore their performance by simulation on a range of synthetic workloads and on workloads inspired by trace from existing system. Our results show that if the setup times are long compared to invocation times, algorithms that use information about the composition of functions consistently outperform greedy, myopic algorithms, leading to significant decrease in response latency.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
kelite完成签到,获得积分10
1秒前
sike完成签到,获得积分20
1秒前
Sadgenius发布了新的文献求助10
1秒前
1秒前
开朗的绮南完成签到,获得积分10
1秒前
2秒前
CodeCraft应助我执采纳,获得10
2秒前
2秒前
2秒前
2秒前
科研通AI6.4应助yipeng采纳,获得10
3秒前
3秒前
8888拉完成签到,获得积分10
3秒前
3秒前
内卷没有赢家完成签到,获得积分10
4秒前
NexusExplorer应助章半仙采纳,获得10
4秒前
沈佳宁完成签到,获得积分10
4秒前
4秒前
好汉完成签到,获得积分10
6秒前
狂妄发布了新的文献求助10
6秒前
酷波er应助西西采纳,获得10
6秒前
7秒前
科研通AI6.4应助lllll采纳,获得10
7秒前
8秒前
小桃子完成签到,获得积分10
8秒前
9秒前
CipherSage应助che123采纳,获得10
9秒前
10秒前
coco完成签到,获得积分10
10秒前
科研通AI6.3应助朱鸿炜采纳,获得10
10秒前
刘旭环发布了新的文献求助10
10秒前
11秒前
11秒前
烟花应助LIQING采纳,获得10
12秒前
12秒前
jzm完成签到,获得积分10
13秒前
13秒前
13秒前
我执完成签到,获得积分20
13秒前
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
晶种分解过程与铝酸钠溶液混合强度关系的探讨 8888
Les Mantodea de Guyane Insecta, Polyneoptera 2000
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
Leading Academic-Practice Partnerships in Nursing and Healthcare: A Paradigm for Change 800
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6421662
求助须知:如何正确求助?哪些是违规求助? 8240625
关于积分的说明 17514023
捐赠科研通 5475482
什么是DOI,文献DOI怎么找? 2892502
邀请新用户注册赠送积分活动 1868884
关于科研通互助平台的介绍 1706263