Next generation microservices and serverless apps with WebAssembly & Spin
summary
WebAssembly plus the open source Spin framework compiles Rust and TypeScript into tiny portable modules (example sizes: Rust wasm ~2 MB JIT / 300 KB AOT; Spin HTTP app JIT ~2.3 MB, AOT ~1.1 MB), starts in under a millisecond, and runs serverless locally or in the cloud. Demo builds a front end plus two backends with SQLite and key‑value store persistence, deploys to cloud successfully with a visible cold start request, and runs on Kubernetes via runwasi using the spin CLI and spin watch/build.
AI-written summary · about
chapters (14)
- 0:00Introduction to WebAssembly
- 1:48WebAssembly fundamentals
- 4:34Runtimes: Browser vs Server
- 6:23WASM in the browser
- 9:43WASM outside the browser
- 14:06Introduction to Spin
- 19:27Building a Rust HTTP handler
- 26:20State and key-value storage
- 32:37Cloud deployment demo
- 35:20Composing applications
- 38:03TypeScript and SQL database
- 44:19Adding a front-end
- 47:26Cloud deployment and cold starts
- 52:24Kubernetes and conclusion
related talks
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
19mTaking WebAssembly for a Spin
30mCloud-Native vNext with WebAssembly and Spin
01h 03mTruly Portable Code: Serverless WebAssembly in a Distributed World
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
25mBuilding Serverless AI Apps with Spin and WebAssembly
30mThe Future of the Cloud is WebAssembly
24mA Greener, Cost Effective Cloud with Serverless WebAssembly
