Search papers, labs, and topics across Lattice.
This paper introduces WASP, a configurable framework designed to enable stateful serverless applications using WebAssembly (WASM) across diverse edge-cloud environments. By employing a modular architecture that allows for the swapping of WASM runtimes and datastores without modifying application code, WASP addresses the limitations of existing serverless platforms that are primarily stateless and tightly coupled to specific execution engines. Experimental results show that WASP incurs minimal runtime overhead while providing significant flexibility in memory and latency performance, making it well-suited for the heterogeneous demands of edge deployments.
WASP enables seamless adaptation of serverless applications to diverse edge-cloud environments without the need for code changes, unlocking new possibilities for stateful workloads.
WebAssembly (WASM) is emerging as a lightweight alternative to containers for Function-as-a-Service (FaaS) across the edge-cloud continuum. However, existing WASM-based serverless platforms are tightly coupled to specific execution engines and predominantly designed for stateless workloads. This clashes with the heterogeneity of edge deployments, which demand support for stateful applications under diverse hardware and workload constraints. We introduce WASP, a configurable framework that brings stateful serverless execution to the edge-cloud continuum. By abandoning monolithic architectures in favor of strictly decoupled, pluggable components, WASP lets system administrators swap the WASM runtime and the datastore to fit available resources and application requirements, without altering application code. Configurable lifecycle and caching policies further enable fine-tuning for diverse non-functional requirements. Our experimental evaluation demonstrates that WASP introduces negligible runtime overhead and, by swapping runtimes, datastores, and policies, exposes radically different memory and latency profiles, confirming its adaptability to the heterogeneous constraints of the edge-cloud continuum.