Function Offloading and Data Migration for Stateful Serverless Edge Computing

被引:2
作者
Nardelli, Matteo [1 ]
Russo, Gabriele Russo [2 ]
机构
[1] Bank Italy, Rome, Italy
[2] Tor Vergata Univ Rome, Rome, Italy
来源
PROCEEDINGS OF THE 15TH ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING, ICPE 2024 | 2024年
关键词
serverless; scheduling; data migration; edge computing; cloud computing;
D O I
10.1145/3629526.3649293
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Serverless computing and, in particular, Function-as-a-Service (FaaS) have emerged as valuable paradigms to deploy applications without the burden of managing the computing infrastructure. While initially limited to the execution of stateless functions in the cloud, serverless computing is steadily evolving. The paradigm has been increasingly adopted at the edge of the network to support latency-sensitive services. Moreover, it is not limited to stateless applications, with functions often recurring to external data stores to exchange partial computation outcomes or to persist their internal state. To the best of our knowledge, several policies to schedule function instances to distributed hosts have been proposed, but they do not explicitly model the data dependency of functions and its impact on performance. In this paper, we study the allocation of functions and associated key-value state in geographically distributed environments. Our contribution is twofold. First, we design a heuristic for function offloading that satisfies performance requirements. Then, we formulate the state migration problem via Integer Linear Programming, taking into account the heterogeneity of data, its access patterns by functions, and the network resources. Extensive simulations demonstrate that our policies allow FaaS providers to effectively support stateful functions and also lead to improved response times.
引用
收藏
页码:247 / 257
页数:11
相关论文
共 32 条
[1]   Layer-Integrated Edge Distributed Data Store for Real-time and Stateful Services [J].
Amemiya, Koichiro ;
Nakao, Akihiro .
NOMS 2020 - PROCEEDINGS OF THE 2020 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2020: MANAGEMENT IN THE AGE OF SOFTWARIZATION AND ARTIFICIAL INTELLIGENCE, 2020,
[2]   NEPTUNE: Network- and GPU-aware Management of Serverless Functions at the Edge [J].
Baresi, Luciano ;
Hu, Davide Yi Xian ;
Quattrocchi, Giovanni ;
Terracciano, Luca .
2022 17TH INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR ADAPTIVE AND SELF-MANAGING SYSTEMS (SEAMS), 2022, :144-155
[3]  
Carver Benjamin, 2020, SoCC '20: Proceedings of the 11th ACM Symposium on Cloud Computing, P1, DOI 10.1145/3419111.3421286
[4]  
Copik M, 2024, Arxiv, DOI arXiv:2203.14859
[5]   The State of Serverless Applications: Collection, Characterization, and Community Consensus [J].
Eismann, Simon ;
Scheuner, Joel ;
Van Eyk, Erwin ;
Schwinger, Maximilian ;
Grohmann, Johannes ;
Herbst, Nikolas ;
Abad, Cristina ;
Iosup, Alexandru .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (10) :4152-4166
[6]  
Fouladi S, 2019, PROCEEDINGS OF THE 2019 USENIX ANNUAL TECHNICAL CONFERENCE, P475
[7]   SyncMesh: Improving Data Locality for Function-as-a-Service in Meshed Edge Networks [J].
Habenicht, Daniel ;
Kreutz, Kevin ;
Becker, Soeren ;
Bader, Jonathan ;
Thamsen, Lauritz ;
Kao, Odej .
PROCEEDINGS OF THE 5TH INTERNATIONAL WORKSHOP ON EDGE SYSTEMS, ANALYTICS AND NETWORKING (EDGESYS'22), 2022, :55-60
[8]  
Hetzel Raphael, 2021, P MOBILESERVERLESS21, P1
[9]   Nightcore: Efficient and Scalable Serverless Computing for Latency-Sensitive, Interactive Microservices [J].
Jia, Zhipeng ;
Witchel, Emmett .
ASPLOS XXVI: TWENTY-SIXTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2021, :152-166
[10]  
Klimovic A, 2018, PROCEEDINGS OF THE 13TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P427