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 条
  • [31] Survey on serverless computing
    Hassan, Hassan B.
    Barakat, Saman A.
    Sarhan, Qusay I.
    JOURNAL OF CLOUD COMPUTING-ADVANCES SYSTEMS AND APPLICATIONS, 2021, 10 (01):
  • [32] WebAssembly for Edge Computing: Potential and Challenges
    Hoque M.N.
    Harras K.A.
    IEEE Communications Standards Magazine, 2022, 6 (04): : 68 - 73
  • [33] Service centric computing - Next generation Internet computing
    Rolia, J
    Friedrich, R
    Patel, C
    PERFORMANCE EVALUATION OF COMPLEX SYSTEMS: TECHNIQUES AND TOOLS: PERFORMANCE 2002 TUTORIAL LECTURES, 2002, 2459 : 463 - 479
  • [34] Nanosystems, Edge Computing, and the Next Generation Computing Systems
    Passian, Ali
    Imam, Neena
    SENSORS, 2019, 19 (18)
  • [35] Next Generation of Computing through Cloud Computing Technology
    Mollah, Muhammad Baqer
    Islam, Kazi Reazul
    Islam, Sikder Sunbeam
    2012 25TH IEEE CANADIAN CONFERENCE ON ELECTRICAL & COMPUTER ENGINEERING (CCECE), 2012,
  • [36] Computing for the next generation flavour factories
    Bianchi, F.
    Brown, D.
    Corvo, M.
    Di Simone, A.
    Fella, A.
    Gianoli, A.
    Luppi, E.
    Morandin, M.
    Paoloni, E.
    Rama, M.
    Tomassetti, L.
    INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS (CHEP 2010), 2011, 331
  • [37] Computing for the Next-Generation Automobile
    Aoyama, Mikio
    COMPUTER, 2012, 45 (06) : 32 - 37
  • [38] NEXT-GENERATION COMPUTING - RESPONSE
    KAHN, RE
    IEEE SPECTRUM, 1984, 21 (05) : 10 - 10
  • [39] EXPERIENCING THE NEXT GENERATION COMPUTING ENVIRONMENT
    BALZER, R
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 467 : 211 - 217
  • [40] ToolSpace: A next generation computing environment
    Goddard, T
    Sunderam, VS
    SEVENTH INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE DISTRIBUTED COMPUTING - PROCEEDINGS, 1998, : 356 - 357