🤖 AI Summary
This study addresses the non-trivial overhead of containers in cloud-native workloads by proposing a WebAssembly (Wasm)-based service orchestration system. By integrating Wasm's lightweight execution model with cloud-native orchestration techniques, the system implements service scheduling, lifecycle management, and traffic routing, thereby overcoming the limitation of confining Wasm to Function-as-a-Service (FaaS) scenarios. Experimental results demonstrate that Wasm is a feasible alternative to containers for typical microservices, delivering competitive runtime performance while significantly improving lifecycle management efficiency.
📝 Abstract
Modern cloud computing infrastructure relies heavily on virtualization to provide workload isolation and resource efficiency. While containers have become the dominant deployment primitive due to their fast orchestration compared to traditional virtual machines, they still introduce non-trivial overhead. WebAssembly (Wasm) has emerged as an alternative isolation technology, offering a lightweight execution model. Because of compatibility limitations, WebAssembly has mainly been applied to Function-as-a-Service (FaaS) and Edge Computing scenarios, where it has attracted growing research interest.
However, recent advances in the WebAssembly ecosystem have significantly matured the technology, raising the question of whether it can serve as a viable replacement for containers in cloud-native workloads. In this paper, we present Kirin, an orchestrator for cloud-native WebAssembly services. It supports core orchestration responsibilities, including resource scheduling, lifecycle management, scaling, and request routing. We evaluate Kirin against container-based deployments for several service workloads and demonstrate promising results, particularly in service lifecycle management. Simultaneously, we confirm known limitations in CPU-intensive workloads. However, for typical service workloads, Kirin demonstrates competitive performance, suggesting that WebAssembly is a viable candidate for broader adoption as a cloud-native deployment technology.