WebAssembly as an Enabler for Next Generation Serverless Computing

被引:9
|
作者
Kjorveziroski, Vojdan [1 ]
Filiposka, Sonja [1 ]
机构
[1] Ss Cyril & Methodius Univ, Fac Comp Sci & Engn, Rudzer Boshkovikj 16, Skopje 1000, North Macedonia
关键词
Serverless computing; WebAssembly; Function as a service; Internet of things; Performance evaluation; Benchmarks; WEB;
D O I
10.1007/s10723-023-09669-8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
WebAssembly is a new binary instruction format and runtime environment capable of executing both client side and server side workloads. With its numerous advantages, including drastically reduced cold start times, efficiency, easy portability, and compatibility with the most popular programming languages today, it has the potential to revolutionize serverless computing. We evaluate the impact of WebAssembly in terms of serverless computing, building on top of existing research related to WebAssembmly in cloud and edge environments. To this end, we introduce a novel benchmarking suite comprised of 13 different functions, compatible with WebAssembly, and focusing on both microbenchmarking and real-world workloads. We also discuss possibilities of integrating WebAssembly runtimes with the application programming interfaces and command line interfaces of popular container runtimes, representing an initial step towards potential reuse of existing orchestration engines in the future, thus solving the open issue of WebAssembly workload scheduling. We evaluate the performance of such an integration by comparing the cold start delays and total execution times of three WebAssembly runtimes: WasmEdge, Wasmer, and Wasmtime to the performance of the containerd container runtime, using distroless and distro-oriented container images. Results show that WebAssembly runtimes show better results in 10 out of 13 tests, with Wasmtime being the fastest WebAssembly runtime among those evaluated. Container runtimes still offer better compute performance for complex workloads requiring larger execution times, in cases where cold start times are negligible compared to the total execution time.
引用
收藏
页数:20
相关论文
共 50 条
  • [1] WebAssembly as an Enabler for Next Generation Serverless Computing
    Vojdan Kjorveziroski
    Sonja Filiposka
    Journal of Grid Computing, 2023, 21
  • [2] WebAssembly Orchestration in the Context of Serverless Computing
    Vojdan Kjorveziroski
    Sonja Filiposka
    Journal of Network and Systems Management, 2023, 31
  • [3] WebAssembly Orchestration in the Context of Serverless Computing
    Kjorveziroski, Vojdan
    Filiposka, Sonja
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2023, 31 (03)
  • [4] Review of WebAssembly Application Research for Edge Serverless Computing
    Wang, Xin
    Zhao, Kai
    Qin, Bin
    Computer Engineering and Applications, 2023, 59 (11) : 28 - 36
  • [5] Serverless Computing for Next-generation Application Development
    Toosi, Adel N.
    Javadi, Bahman
    Iosup, Alexandru
    Smirni, Evgenia
    Dustdar, Schahram
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2025, 164
  • [6] Evaluating Webassembly Enabled Serverless Approach for Edge Computing
    Mendki, Pankaj
    2020 IEEE CLOUD SUMMIT, 2020, : 161 - 166
  • [7] Self-Provisioning Infrastructures for the Next Generation Serverless Computing
    Nastic S.
    SN Computer Science, 5 (6)
  • [8] Pushing Serverless to the Edge with WebAssembly Runtimes
    Gackstatter, Philipp
    Frangoudis, Pantelis A.
    Dustdar, Schahram
    2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, : 140 - 149
  • [9] Standards as an enabler for next generation networks
    Dickerson, KR
    BT TECHNOLOGY JOURNAL, 2004, 22 (02) : 39 - 47
  • [10] Next-generation web applications with WebAssembly and TruffleWasm
    Rochester Institute of Technology Croatia, Zagreb, Croatia
    arXiv, 1600,