Wasm-bpf: Streamlining eBPF Deployment in Cloud Environments with WebAssembly
Yusheng Zheng, Tong Yu, Yiwei Yang, Andrew Quinn

TL;DR
Wasm-bpf is a lightweight WebAssembly-based runtime that simplifies cross-platform deployment and dynamic plugin management of eBPF programs in cloud environments, reducing overhead and compatibility issues.
Contribution
It introduces Wasm-bpf, a novel WebAssembly runtime that enhances portability, simplifies deployment, and supports dynamic plugin management for eBPF programs in cloud-native settings.
Findings
Wasm-bpf achieves minimal overhead compared to native eBPF.
It enables cross-platform compatibility for eBPF programs.
The system simplifies deployment within containerized cloud environments.
Abstract
The extended Berkeley Packet Filter (eBPF) is extensively utilized for observability and performance analysis in cloud-native environments. However, deploying eBPF programs across a heterogeneous cloud environment presents challenges, including compatibility issues across different kernel versions, operating systems, runtimes, and architectures. Traditional deployment methods, such as standalone containers or tightly integrated core applications, are cumbersome and inefficient, particularly when dynamic plugin management is required. To address these challenges, we introduce Wasm-bpf, a lightweight runtime on WebAssembly and the WebAssembly System Interface (WASI). Leveraging Wasm platform independence and WASI standardized system interface, with enhanced relocation for different architectures, Wasm-bpf ensures cross-platform compatibility for eBPF programs. It simplifies deployment by…
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.
