Lumos: Performance Characterization of WebAssembly as a Serverless Runtime in the Edge-Cloud Continuum
Cynthia Marcelino, Noah Krennmair, Thomas Pusztai, Stefan Nastic
TL;DR
Lumos tackles the challenge of understanding WebAssembly as a serverless runtime in the Edge-Cloud Continuum by introducing a performance model and a modular benchmarking framework. It systematically characterizes workload-, system-, and environment-driven performance factors and compares Wasm (AoT and interpreted) against Docker containers across diverse edge workloads. Key findings show that AoT Wasm images are significantly smaller and can reduce cold-start latency, while interpreted Wasm suffers substantial warm-latency and I/O/serialization overhead, with containers often delivering better scalability and throughput under concurrency. The work provides actionable insights for deploying serverless workloads at the edge and outlines a path for extending Lumos to richer environments and real traces, enabling more informed trade-offs between portability, isolation, and performance.
Abstract
WebAssembly has emerged as a lightweight and portable runtime to execute serverless functions, particularly in heterogeneous and resource-constrained environments such as the Edge Cloud Continuum. However, the performance benefits versus trade-offs remain insufficiently understood. This paper presents Lumos, a performance model and benchmarking tool for characterizing serverless runtimes. Lumos identifies workload, system, and environment-level performance drivers in the Edge-Cloud Continuum. We benchmark state-of-the-art containers and the Wasm runtime in interpreted mode and with ahead-of-time compilation. Our performance characterization shows that AoT-compiled Wasm images are up to 30x smaller and decrease cold-start latency by up to 16% compared to containers, while interpreted Wasm suffers up to 55x higher warm latency and up to 10x I/O-serialization overhead.
