Page 74 - 《软件学报》2025年第5期
P. 74
软件学报 ISSN 1000-9825, CODEN RUXUEW E-mail: jos@iscas.ac.cn
2025,36(5):1974−2005 [doi: 10.13328/j.cnki.jos.007191] [CSTR: 32375.14.jos.007191] http://www.jos.org.cn
©中国科学院软件研究所版权所有. Tel: +86-10-62562563
*
服务器无感知平台性能度量研究
温金凤 1 , 陈震鹏 2 , 柳 熠 3 , 刘譞哲 1
1
(北京大学 计算机学院, 北京 100871)
2
(Department of Computer Science, University College London, London WC1E 6BT, UK)
3
(北京大数据先进技术研究院, 北京 100091)
通信作者: 刘譞哲, E-mail: xzl@pku.edu.cn
摘 要: 服务器无感知计算是一种新兴的云计算范型, 它允许开发者专注于应用逻辑的开发, 而不需要负责底层复
杂的任务管理. 通过这种范型, 开发者可以快速构建更小粒度的应用, 即函数级别的应用. 随着服务器无感知计算
的日益流行, 各大云计算厂商相继推出各自的商业服务器无感知平台. 然而, 这些平台的特点尚未得到系统的研究
和可靠的比较. 全面分析这些特点可以帮助开发者选择合适的服务器无感知平台, 并以正确的方式开发和执行基
于服务器无感知计算的应用. 为此, 开展了面向主流的商业服务器无感知平台特征的实证研究. 涵盖的主流服务器
无感知平台包括亚马逊 Lambda、谷歌 Cloud Functions、微软 Azure Functions 和阿里巴巴 Function Compute. 研究
内容主要分为两大类: 特征总结和运行时性能分析. 在特征总结中, 通过对这些服务器无感知平台的官方文档进行
探究, 从开发、部署和运行时 3 个方面的关键特征进行总结和比较. 在运行时性能分析中, 使用代表性的基准测试
程序, 从多个维度分析了这些服务器无感知平台提供的运行时性能. 具体而言, 首先分析了影响应用冷启动性能的
关键因素, 如编程语言和内存大小. 其次, 探究了服务器无感知平台执行各类任务的执行性能. 基于特征总结和运
行时性能分析的结果, 总结了一系列发现, 并为开发者、云计算厂商和研究者提供了具有现实指导意义的启示和
潜在的研究机会.
关键词: 度量研究; 服务器无感知计算; 软件工程; 云计算; 平台比较
中图法分类号: TP311
中文引用格式: 温金凤, 陈震鹏, 柳熠, 刘譞哲. 服务器无感知平台性能度量研究. 软件学报, 2025, 36(5): 1974–2005. http://www.jos.
org.cn/1000-9825/7191.htm
英文引用格式: Wen JF, Chen ZP, Liu Y, Liu XZ. Measurement Study on Performance of Serverless Platforms. Ruan Jian Xue
Bao/Journal of Software, 2025, 36(5): 1974–2005 (in Chinese). http://www.jos.org.cn/1000-9825/7191.htm
Measurement Study on Performance of Serverless Platforms
3
2
1
WEN Jin-Feng , CHEN Zhen-Peng , LIU Yi , LIU Xuan-Zhe 1
1
(School of Computer Science, Peking University, Beijing 100871, China)
2
(Department of Computer Science, University College London, London WC1E 6BT, UK)
3
(Advanced Institute of Big Data, Beijing 100091, China)
Abstract: Serverless computing is an emerging paradigm of cloud computing, allowing developers to focus only on application logic
development without the need to manage complex underlying tasks. This paradigm allows developers to quickly build smaller-granularity
applications, the one at the function level. With the increasing popularity of serverless computing, major cloud computing vendors have
introduced their commercial serverless platforms one after another. However, the characteristics of these platforms have yet to be
systematically studied and reliably compared. A comprehensive analysis of these characteristics can help developers choose an appropriate
* 基金项目: 国家重点研发计划 (2022YFB4500700); 国家杰出青年科学基金 (62325201)
收稿时间: 2023-07-13; 修改时间: 2023-10-10, 2023-11-30; 采用时间: 2024-03-27; jos 在线出版时间: 2024-06-14
CNKI 网络首发时间: 2024-06-17