FireFace: Leveraging Internal Function Features for Configuration of Functions on Serverless Edge Platforms

Author:

Li Ming123ORCID,Zhang Jianshan4ORCID,Lin Jingfeng123ORCID,Chen Zheyi123ORCID,Zheng Xianghan13ORCID

Affiliation:

1. College of Computer and Data Science, Fuzhou University, Fuzhou 350116, China

2. Key Laboratory of Spatial Data Mining and Information Sharing, Ministry of Education, Fuzhou 350002, China

3. Fujian Key Laboratory of Network Computing and Intelligent Information Processing, Fuzhou University, Fuzhou 350116, China

4. College of Computer and Control Engineering, Minjiang University, Fuzhou 350116, China

Abstract

The emerging serverless computing has become a captivating paradigm for deploying cloud applications, alleviating developers’ concerns about infrastructure resource management by configuring necessary parameters such as latency and memory constraints. Existing resource configuration solutions for cloud-based serverless applications can be broadly classified into modeling based on historical data or a combination of sparse measurements and interpolation/modeling. In pursuit of service response and conserving network bandwidth, platforms have progressively expanded from the traditional cloud to the edge. Compared to cloud platforms, serverless edge platforms often lead to more running overhead due to their limited resources, resulting in undesirable financial costs for developers when using the existing solutions. Meanwhile, it is extremely challenging to handle the heterogeneity of edge platforms, characterized by distinct pricing owing to their varying resource preferences. To tackle these challenges, we propose an adaptive and efficient approach called FireFace, consisting of prediction and decision modules. The prediction module extracts the internal features of all functions within the serverless application and uses this information to predict the execution time of the functions under specific configuration schemes. Based on the prediction module, the decision module analyzes the environment information and uses the Adaptive Particle Swarm Optimization algorithm and Genetic Algorithm Operator (APSO-GA) algorithm to select the most suitable configuration plan for each function, including CPU, memory, and edge platforms. In this way, it is possible to effectively minimize the financial overhead while fulfilling the Service Level Objectives (SLOs). Extensive experimental results show that our prediction model obtains optimal results under all three metrics, and the prediction error rate for real-world serverless applications is in the range of 4.25∼9.51%. Our approach can find the optimal resource configuration scheme for each application, which saves 7.2∼44.8% on average compared to other classic algorithms. Moreover, FireFace exhibits rapid adaptability, efficiently adjusting resource allocation schemes in response to dynamic environments.

Funder

National Natural Science Foundation of China

Key Area Research and Development Program of Guangdong Province

Publisher

MDPI AG

Subject

Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry

Reference38 articles.

1. Lambda, A. (2023, May 14). Aws Lambda. Available online: https://aws.amazon.com/cn/lambda/.

2. Azure (2023, May 16). Azure Functions. Available online: https://azure.microsoft.com/zh-cn/products/functions/.

3. Google (2023, May 20). Google Cloud Functions. Available online: https://cloud.google.com/functions.

4. Serverless computing: State-of-the-art, challenges and opportunities;Li;IEEE Trans. Serv. Comput.,2022

5. Automatic performance-optimal offloading of network functions on programmable switches;Chen;IEEE Trans. Cloud Comput.,2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3