Stateful Serverless Application Placement in MEC with Function and State Dependencies

Zichuan Xu, Lizhen Zhou, Weifa Liang, Qiufen Xia, Wenzheng Xu*, Wenhao Ren, Haozhe Ren, Pan Zhou

*Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

32 Citations (Scopus)

Abstract

Serverless computing is emerging as an enabling technology for elastic and low-cost AI applications in the edge of core networks. It allows AI developers to decompose a complex training and time-sensitive inference task into multiple functions with dependency, and upload the task to a Multi-access Edge Computing platform (MEC) for execution. Serverless computing adopts a popular design principle: the disaggregation of storage and computation, making the functions ‘stateless’. However, most AI applications are ‘stateful’ and rely on an external storage service to manage their states (ephemeral data). This will incur a prohibitively long delay for delay-sensitive AI applications if external services storing the states are far from the serverless functions. Motivated by this critical issue, in this paper we investigate a fundamental problem in serverless computing – the stateful serverless application placement problem, for which, we first propose an efficient heuristic algorithm, and then devise an approximation algorithm with a provable approximation ratio for one of its special cases. We also consider the online version of the problem, and develop an online learning-driven algorithm with a bounded regret. The crux of the online algorithm is the adoption of the multi-armed bandits technique for dynamic admissions of inference requests, under the uncertainty of both data volumes of requests and network delays. We finally evaluate the performance of the proposed algorithms through experimental simulations. Simulation results show that the proposed algorithms outperform their counterparts, reducing at least 32% in the total cost and 27% of the average delay. © 2023 IEEE.
Original languageEnglish
Pages (from-to)2701-2716
Number of pages16
JournalIEEE Transactions on Computers
Volume72
Issue number9
Online published29 Mar 2023
DOIs
Publication statusPublished - Sept 2023

Research Keywords

  • Approximation algorithms
  • Artificial intelligence
  • cloud computing
  • Costs
  • Delays
  • function placement
  • Heuristic algorithms
  • machine learning method
  • multi-access edge computing
  • online learning
  • Serverless computing
  • the multi-armed bandit method
  • Uncertainty

Fingerprint

Dive into the research topics of 'Stateful Serverless Application Placement in MEC with Function and State Dependencies'. Together they form a unique fingerprint.

Cite this