Serverless Everywhere: A Comparative Analysis of WebAssembly Workflows Across Browser, Edge, and Cloud
Mario Colosi, Reza Farahani, Lauri Loven, Radu Prodan, Massimo Villari

TL;DR
This paper compares WebAssembly-based serverless workflows across browser, edge, and cloud environments, analyzing performance factors like startup latency and resource utilization to identify optimal deployment strategies.
Contribution
It provides a comprehensive evaluation of Wasm workflows across diverse platforms, highlighting the impact of compilation modes and payload sizes on performance.
Findings
AOT compilation reduces startup latency significantly.
Browser performs well with small payloads due to in-memory data exchange.
Edge and cloud outperform browsers with larger, compute-intensive payloads.
Abstract
WebAssembly (Wasm) is a binary instruction format that enables portable, sandboxed, and near-native execution across heterogeneous platforms, making it well-suited for serverless workflow execution on browsers, edge nodes, and cloud servers. However, its performance and stability depend heavily on factors such as startup overhead, runtime execution model (e.g., Ahead-of-Time (AOT) and Just-in-Time (JIT) compilation), and resource variability across deployment contexts. This paper evaluates a Wasm-based serverless workflow executed consistently from the browser to edge and cloud instances. The setup uses wasm32-wasi modules: in the browser, execution occurs within a web worker, while on Edge and Cloud, an HTTP shim streams frames to the Wasm runtime. We measure cold- and warm-start latency, per-step delays, workflow makespan, throughput, and CPU/memory utilization to capture the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Scientific Computing and Data Management · Cloud Computing and Remote Desktop Technologies
