Hey friends 👋🏼,

The wait is finally over! After countless early mornings, extensive refactorings, and hours spent obsessing over every code sample and diagram, the first version of Building Serverless Applications with WebAssembly & Spin is officially live.

You can grab your copy right now on Leanpub:

👉 https://leanpub.com/building-serverless-apps-with-wasm-and-spin

Building Serverless Applications with WebAssembly & Spin

What the Book Is About

Server-side WebAssembly represents the next major evolution in cloud architecture. By combining sub-millisecond cold starts, near-native performance, and robust sandboxed isolation, Wasm components eliminate the overhead of traditional containers and function-as-a-service platforms.

This book is a deeply practical, hands-on journey. Instead of staying in the realm of theory, we roll up our sleeves and build a full, multi-component serverless application from scratch using Rust and Spin.

Here is a glimpse of what you’ll find inside:

  • Fundamentals of Serverless Wasm: Understanding the component model, WASI, and how Spin powers the next wave of cloud computing
  • Spin Idioms: Understand and use the core idioms of Spin to build reliable serverless applications
  • State and Integrations: Working with key-value storage, outbound networking, routing, variables, and many more
  • Wasm Component Composition: Build and use reusable WebAssembly components with Spin
  • Testing & Tooling: Structuring and running reliable unit and integration tests without headaches
  • Deployment Flexibility: Taking the exact same Wasm binary and ship them seamlessly to Akamai Functions as well as Kubernetes with SpinKube
  • Extending Spin: Roll custom templates, implement CLI plugins and craft your own triggers
  • Hardening Techniques: From common hardening patterns, over SBOM and artifact signing

Buying the digital edition on Leanpub gets you immediate access to DRM-free PDF and EPUB versions, along with all future updates and revisions as the ecosystem continues to evolve.

Thank You!

Writing a technical book is never a solo effort. I’m incredibly grateful to everyone who helped shape this project into something I’m truly proud of.

First, a massive thank you to Matt Butcher and Radu Matei for graciously contributing forewords to the book. Having leaders and pioneers from the WebAssembly ecosystem share their vision and insights at the start of the book means a lot to me.

Second, my deepest gratitude goes out to my reviewers, Christian Wenz, Karthik Ganeshram, Jörg Neumann and Ruckus Voxi. Your meticulous eye for detail, critical feedback, and thoughtful suggestions during the drafting process made the explanations clearer, the code sharper, and the overall book significantly better.

Thank you for taking the time to review the drafts!

Printed Version Coming Soon via Amazon KDP

If you prefer physical pages, underlining text with a pencil, or having a copy on your desk, good news: a printed paperback version will be available via Amazon KDP very soon!

I am currently putting the final touches on the print interior layout and cover formatting to make sure it looks great in physical form. I will post another update the moment the paperback is live and ready to order.


Head over to Leanpub to pick up your copy today. If you dive in, I’d love to hear your thoughts, feedback, and what you build with Spin!