A Reinforcement Learning Approach to Reduce Serverless Function Cold Start Frequency

计算机科学 强化学习 功能(生物学) 分布式计算 云计算 工作量 操作系统 响应时间 人工智能 进化生物学 生物
作者
Siddharth Agarwal,María Alejandra Rodríguez,Rajkumar Buyya
出处
期刊:Cluster Computing and the Grid 被引量:18
标识
DOI:10.1109/ccgrid51090.2021.00097
摘要

Serverless computing is an event-driven cloud computing architecture for processing requests on-demand, using light weight function containers and a micro-services model. A variety of applications like Internet of Things (IoT) services, edge computing, and stream processing have been introduced to the serverless paradigm. These applications are characterized by their stringent response time requirements, therefore expecting a quick and fault tolerant feedback from the application. The serverless, or Function-as-a-Service (FaaS), paradigm suffers from function `cold start' challenges, where the serverless platform takes time to set up the dependencies, prepare the runtime environment and code for execution before serving the incoming workload. Most of the current works address the problem of cold start by (1) reducing the start-up or preparation time of function containers, or (2) reducing the frequency of function cold starts on the platform. Recent industrial research has identified that factors such as runtime environment, CPU and memory settings, invocation concurrency, and networking requirements, affect the cold start of a function. Therefore, we propose a Reinforcement Learning (Q-Learning) agent setting, to analyze the identified factors such as function CPU utilization, to ascertain the function-invocation patterns and reduce the function cold start frequency by preparing the function instances in advance. The proposed Q-Learning agent interacts with the Kubeless serverless platform by discretizing the environment states, actions and rewards with the use of per-instance CPU utilization, available function instances and success or failure rate of response, respectively. The workload is replicated using the Apache JMeter non-GUI toolkit and our agent is evaluated against the baseline default auto-scale feature of Kubeless. The agent demonstrates the capability of learning the invocation pattern, make informed decisions by preparing the optimal number of function instances over the period of learning, under controlled environment settings.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
韩帅发布了新的文献求助10
1秒前
努力学习的小福完成签到,获得积分10
1秒前
CipherSage应助羲和之梦采纳,获得10
2秒前
4秒前
6秒前
12312完成签到,获得积分10
7秒前
16秒前
17秒前
18秒前
FashionBoy应助钱浩采纳,获得10
18秒前
活力以冬完成签到,获得积分10
18秒前
田様应助粗暴的遥采纳,获得10
18秒前
小小杜完成签到,获得积分10
19秒前
李健的小迷弟应助hanxiaoxin采纳,获得10
20秒前
fruchtjelly发布了新的文献求助10
22秒前
JamesPei应助清溪浅水XZ采纳,获得10
22秒前
26秒前
FashionBoy应助fruchtjelly采纳,获得10
28秒前
29秒前
29秒前
斯文败类应助宣依云采纳,获得10
31秒前
醉舞烟罗完成签到,获得积分10
34秒前
35秒前
hanxiaoxin发布了新的文献求助10
35秒前
37秒前
37秒前
打打应助吴未采纳,获得10
38秒前
39秒前
hanxiaoxin完成签到,获得积分10
48秒前
121311完成签到,获得积分20
48秒前
Jasper应助小羊同学采纳,获得10
48秒前
酷波er应助晶晶在努力采纳,获得10
51秒前
58秒前
1分钟前
1分钟前
百里秋发布了新的文献求助10
1分钟前
1分钟前
1分钟前
12334发布了新的文献求助10
1分钟前
Ryan完成签到,获得积分10
1分钟前
高分求助中
【本贴是提醒信息,请勿应助】请在求助之前详细阅读求助说明!!!! 20000
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 1000
The Three Stars Each: The Astrolabes and Related Texts 900
Yuwu Song, Biographical Dictionary of the People's Republic of China 800
Multifunctional Agriculture, A New Paradigm for European Agriculture and Rural Development 600
Challenges, Strategies, and Resiliency in Disaster and Risk Management 500
Bernd Ziesemer - Maos deutscher Topagent: Wie China die Bundesrepublik eroberte 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2481747
求助须知:如何正确求助?哪些是违规求助? 2144344
关于积分的说明 5469639
捐赠科研通 1866860
什么是DOI,文献DOI怎么找? 927886
版权声明 563039
科研通“疑难数据库(出版商)”最低求助积分说明 496404