Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge-Cloud Continuum
Abstract
Checkpoint/restore (C/R) in the Edge-Cloud Continuum, where edge servers and cloud servers are integrated to combine their respective computational characteristics, enables application live migration for load balancing and service continuity that adapts to user mobility. WebAssembly (Wasm) provides architecture neutrality, allowing bytecode execution across diverse platforms. Furthermore, by leveraging runtime implementations specialized for particular environments and performance optimizations such as JIT and AOT, Wasm bytecode can be executed efficiently by using the runtime best suited to each environment. However, the diversity of runtimes and performance optimizations results in heterogeneous representations of application execution states, making it difficult to apply C/R across multiple runtimes. To address this heterogeneity, we propose a C/R method that employs a self-hosted Wasm runtime compiled into Wasm itself. By checkpointing and restoring application execution states within the self-hosted Wasm runtime, the representation of execution states can be unified. In addition, to mitigate the overhead of duplicated runtime executions, we also investigate optimization techniques for Wasm runtimes designed to be self-hosted. Our evaluation results demonstrate that C/R with a self-hosted Wasm runtime can eliminate runtime differences and enable efficient live migration with a minimal execution state.
Create a lesson
Metadata
- Comments
- 7 pages, 4 figures. Accepted at ACM Mid4CC 2025
Related papers
Agent libOS: A Runtime Substrate for Capability-Controlled Self-Evolving LLM Agents
Shared title terminologycs.OSYingqi Zhang
Bring Cloud-Native Networking to FreeBSD Jails: Porting Calico from Linux
Shared title terminologycs.OSSoma Sakaguchi, Shintaro Suzuki, Yuki Nakata et al.
HyCoInfer: Cloud-Edge Collaborative Inference for Large Language Models on Heterogeneous GPU-FPGA Architectures
Shared title terminologycs.OSZewen Huang, Xiangwen Zhuge, Yingkun Hu et al.
ToolSched: Resource-Efficient Tool Scheduling for Shared-Host LLM Agents
Shared title terminologycs.OSShucheng Zou, Yuhao Gu, Long Chen et al.
Beyond Source Compatibility: WebAssembly as a Stable ABI for ARINC 653 Applications
Shared title terminologycs.OSWanja Zaeske, Patrick Siegl, Florian Hartung et al.
Aegis OS: A Transactional Multi-Tenant Operating System Runtime for Eliminating Authorization Fatigue in Autonomous Coding Agents
Shared title terminologycs.OSHui Zhao