⚡ API Patterns and Practices: Server-Side WebAssembly
Home Chapters Examples Diagrams Bibliography GitHub ↗
Home / Deviations
Part 6 3 chapters

Deviations

Branch out from the core stack: Proxy-Wasm and the Istio WasmPlugin CRD, where else server-side Wasm shows up in backend architectures, and wasi-nn for portable inference from a component.

Chapter 25

Istio and WebAssembly

Extend Istio's gateway with a proxy-wasm filter loaded by the WasmPlugin CRD, without rebuilding Envoy, and see why it is a different Wasm ABI from a Component Model component.

21 min readRead →
Chapter 26

WebAssembly for Other Backend Architectures

Place the containerd shim, the wasmCloud operator, SpinKube and WasmEdge's runwasi shim on one map, then run a Spin app for the cargo domain through SpinKube on minikube and as a plain restricted-v2 container on OpenShift Local.

15 min readRead →
Chapter 27

wasi-nn: Portable Inference from Wasm

Run cargo-classification inference from a component with wasi-nn against an OpenVINO reference backend, and decide when it beats a model server.

15 min readRead →
← Previous part Deploying to Kubernetes Next part → Final Project

API Patterns and Practices: Server-Side WebAssembly

Designing and deploying server-side WebAssembly components well, with runnable examples in Rust and Go against one WIT contract, running on wasmtime and wasmCloud and deployed to Kubernetes on minikube and OpenShift Local.

Site

  • Outline
  • Bibliography

Reference

  • Component Model ↗
  • WASI ↗
  • wasmtime ↗
  • View on GitHub ↗
  • Issues ↗
Open source · MIT Last built 2026-11-11