Truly Portable Code: Serverless WebAssembly in a Distributed World
summary
Demonstrates building a Rust URL-shortener compiled to WebAssembly with the Spin CLI, running locally (WebAssembly .wasm built to target/release), using a local SQLite-backed key/value store and then swapping to Redis in Kubernetes via runtime config; deploys an OCI-packed Spin app (pushed to ttl.sh) to AKS with SpinKube on AKS using the containerd shim and Spin operator with four replicas, showing local and Kubernetes runs succeed while Fermyon Wasm Functions (private preview) sometimes returns 503s during the demo.
AI-written summary · about
chapters (10)
- 0:00Serverless WebAssembly intro
- 1:46What is WebAssembly and Spin
- 9:23Why Spin simplifies dev
- 10:25Deploy Spin apps to Kubernetes with SpinCube
- 11:50WebAssembly on the edge with Fermyon WOM
- 16:31Build a URL shortener with Spin
- 24:01Add persistence with key-value stores
- 34:01Deploy app to Kubernetes
- 48:28Global distribution on Fermyon WOM
- 53:32Q&A
related talks
59mNext generation microservices and serverless apps with WebAssembly & Spin
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
19mTaking WebAssembly for a Spin
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
39mRunning WebAssembly on Kubernetes
30mCloud-Native vNext with WebAssembly and Spin
24mA Greener, Cost Effective Cloud with Serverless WebAssembly
44mA Greener, Cost-Effective Cloud with Serverless WebAssembly
