Serverless computing is an emerging cloud computing paradigm that frees developers from server management. However, existing studies report that software applications developed in serverless fashion (named serverless applications) severely suffer from cold start latency. We propose an application-level performance optimization approach called LambdaLite, for accelerating the cold start for serverless applications. We first conduct a measurement study to investigate the possible root cause of the cold start problem and find that application code loading latency is the dominant overhead. Therefore, loading only indispensable code from serverless applications can be an adequate solution. Based on this insight, we identify code related to application functionalities by constructing the function-level call graph, and separate other code (optional code) from the serverless application. The separated optional code can be loaded on demand to avoid the inaccurate identification of indispensable code causing application failure. In practice, LambdaLite can be seamlessly deployed on existing serverless platforms without the need to modify the underlying OSes or hypervisors, nor introduce additional manual efforts to developers. Evaluation results on 15 real-world serverless applications show that our approach can significantly reduce the application code loading latency (up to 78.95%, on average 28.78%), thereby reducing the cold start latency. As a result, the total response latency of serverless applications can be decreased by up to 42.05% (on average 19.21%). Compared with the state-of-the-art, our approach achieves a 21.25X improvement on the total response latency of serverless applications.


翻译:无服务器计算是一种新兴的云计算模式,它让开发者能够从服务器管理中解脱出来。 但是,现有研究表明,以无服务器方式开发的软件应用程序(无服务器应用程序的名称)严重受冷启动潜伏的影响。 我们提议了一种名为 LambdaLite 的应用级别性能优化方法,以加速无服务器应用程序的冷启动。 我们首先进行测量研究,以调查冷启动问题的可能根源,并发现装载潜伏器的编码是主要的间接费用。 因此,只有从无服务器应用程序装入不可或缺的代码才能成为一个适当的解决方案。 基于这一洞察,我们通过构建功能级别调用图和从服务器应用程序中分离的其他代码(可选择代码)来识别与应用程序功能相关的代码。 分离的选用代码可以按需求加载,以避免错误地识别导致应用程序故障的不可或缺的代码。 在实践中, LambdaLite 可以顺利地安装在现有的无服务器平台上,而不必修改基本操作系统或超强监视器, 或对开发者引入额外的手工操作方法。 15个没有服务器应用的评估结果表明, 我们的方法可以大幅降低应用程序的代码的编码, 能够大幅降低装载总延缓度(至78-95% ) 服务器的运行结果。

0
下载
关闭预览

相关内容

代码(Code)是专知网的一个重要知识资料文档板块,旨在整理收录论文源代码、复现代码,经典工程代码等,便于用户查阅下载使用。
Linux导论,Introduction to Linux,96页ppt
专知会员服务
76+阅读 · 2020年7月26日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
144+阅读 · 2019年10月12日
机器学习入门的经验与建议
专知会员服务
90+阅读 · 2019年10月10日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
39+阅读 · 2019年10月9日
ACM MM 2022 Call for Papers
CCF多媒体专委会
5+阅读 · 2022年3月29日
AIART 2022 Call for Papers
CCF多媒体专委会
1+阅读 · 2022年2月13日
【ICIG2021】Latest News & Announcements of the Tutorial
中国图象图形学学会CSIG
2+阅读 · 2021年12月20日
【ICIG2021】Latest News & Announcements of the Workshop
中国图象图形学学会CSIG
0+阅读 · 2021年12月20日
【ICIG2021】Check out the hot new trailer of ICIG2021 Symposium7
中国图象图形学学会CSIG
0+阅读 · 2021年11月15日
【ICIG2021】Check out the hot new trailer of ICIG2021 Symposium2
中国图象图形学学会CSIG
0+阅读 · 2021年11月8日
【ICIG2021】Latest News & Announcements of the Industry Talk1
中国图象图形学学会CSIG
0+阅读 · 2021年7月28日
Hierarchically Structured Meta-learning
CreateAMind
23+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
26+阅读 · 2019年5月18日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
0+阅读 · 2011年12月31日
国家自然科学基金
1+阅读 · 2008年12月31日
Arxiv
91+阅读 · 2020年2月28日
Arxiv
34+阅读 · 2019年11月7日
VIP会员
相关资讯
ACM MM 2022 Call for Papers
CCF多媒体专委会
5+阅读 · 2022年3月29日
AIART 2022 Call for Papers
CCF多媒体专委会
1+阅读 · 2022年2月13日
【ICIG2021】Latest News & Announcements of the Tutorial
中国图象图形学学会CSIG
2+阅读 · 2021年12月20日
【ICIG2021】Latest News & Announcements of the Workshop
中国图象图形学学会CSIG
0+阅读 · 2021年12月20日
【ICIG2021】Check out the hot new trailer of ICIG2021 Symposium7
中国图象图形学学会CSIG
0+阅读 · 2021年11月15日
【ICIG2021】Check out the hot new trailer of ICIG2021 Symposium2
中国图象图形学学会CSIG
0+阅读 · 2021年11月8日
【ICIG2021】Latest News & Announcements of the Industry Talk1
中国图象图形学学会CSIG
0+阅读 · 2021年7月28日
Hierarchically Structured Meta-learning
CreateAMind
23+阅读 · 2019年5月22日
Transferring Knowledge across Learning Processes
CreateAMind
26+阅读 · 2019年5月18日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
0+阅读 · 2011年12月31日
国家自然科学基金
1+阅读 · 2008年12月31日
Top
微信扫码咨询专知VIP会员