Pushing Serverless to the Edge with WebAssembly Runtimes

被引:19
|
作者
Gackstatter, Philipp [1 ]
Frangoudis, Pantelis A. [1 ]
Dustdar, Schahram [1 ]
机构
[1] TU Wien, Distributed Syst Grp, Vienna, Austria
关键词
Function-as-a-Service; edge computing; server-less; WebAssembly;
D O I
10.1109/CCGrid54584.2022.00023
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Serverless computing has become a popular part of the cloud computing model, thanks to abstracting away infrastructure management and enabling developers to write functions that auto-scale in a polyglot environment, while only paying for the used compute time. While this model is ideal for handling unpredictable and bursty workloads, cold-start latencies of hundreds of milliseconds or more still hinder its support for latency-critical IoT services, and may cancel the latency benefits that come with proximity, when serverless functions are deployed at the edge. Moreover, CPU power and memory limitations which often characterize edge hosts drive latencies even higher. The root of the problem lies in the de facto runtime environments for serverless functions, namely container technologies such as Docker. A radical approach is thus to replace them with a more light-weight alternative. For this purpose, we examine WebAssembly's suitability for use as a serverless container runtime, with a focus on edge computing settings, and present the design and implementation of a WebAssembly-based runtime environment for serverless edge computing. WOW, our prototype for WebAssembly execution in Apache OpenWhisk, reduces cold-start latency by up to 99.5%, can improve on memory consumption by more than 5x, and increases function execution throughput by up to 4.2x on low-end edge computing equipment compared to the standard Docker-based container runtime for various serverless workloads.
引用
收藏
页码:140 / 149
页数:10
相关论文
共 50 条
  • [1] Review of WebAssembly Application Research for Edge Serverless Computing
    Wang, Xin
    Zhao, Kai
    Qin, Bin
    Computer Engineering and Applications, 2023, 59 (11) : 28 - 36
  • [2] WebAssembly at the Edge: Benchmarking a Serverless Platform for Private Edge Cloud Systems
    De Palma, Giuseppe
    Giallorenzo, Saverio
    Mauro, Jacopo
    Trentin, Matteo
    Zavattaro, Gianluigi
    IEEE INTERNET COMPUTING, 2024, 28 (06) : 37 - 44
  • [3] Evaluating Webassembly Enabled Serverless Approach for Edge Computing
    Mendki, Pankaj
    2020 IEEE CLOUD SUMMIT, 2020, : 161 - 166
  • [4] WADIFF: A Differential Testing Framework for WebAssembly Runtimes
    Zhou, Shiyao
    Jiang, Muhui
    Chen, Weimin
    Zhou, Hao
    Wang, Haoyu
    Luo, Xiapu
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 939 - 950
  • [5] WebAssembly Orchestration in the Context of Serverless Computing
    Vojdan Kjorveziroski
    Sonja Filiposka
    Journal of Network and Systems Management, 2023, 31
  • [6] WebAssembly Orchestration in the Context of Serverless Computing
    Kjorveziroski, Vojdan
    Filiposka, Sonja
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2023, 31 (03)
  • [7] POSTER: Leveraging eBPF to enhance sandboxing of WebAssembly runtimes
    Abbadini, Marco
    Beretta, Michele
    Facchinetti, Dario
    Oldani, Gianluca
    Rossi, Matthew
    Paraboschi, Stefano
    PROCEEDINGS OF THE 2023 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, ASIA CCS 2023, 2023, : 1028 - 1030
  • [8] WebAssembly as an Enabler for Next Generation Serverless Computing
    Kjorveziroski, Vojdan
    Filiposka, Sonja
    JOURNAL OF GRID COMPUTING, 2023, 21 (03)
  • [9] WebAssembly serverless join: A Study of its Application
    Sok, Chanattan
    d'Orazio, Laurent
    Tekin, Reyyan
    Tombroff, Dimitri
    SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT 36TH INTERNATIONAL CONFERENCE, SSDBM 2024, 2024,
  • [10] WebAssembly as an Enabler for Next Generation Serverless Computing
    Vojdan Kjorveziroski
    Sonja Filiposka
    Journal of Grid Computing, 2023, 21