WASM on Edge Serverless; Make Your Life Easier with Go and TinyGo
summary
Go 1.21+ exposes WASI support in Go 1.21+ so you can compile Go and TinyGo to Wasm, deploy a single .wasm to Fastly’s edge CDN, and run HTTP handlers, KV reads/writes, and even goroutines/channels at global scale without managing regional servers. TinyGo produces smaller binaries and in microbenchmarks is faster for short loops but slows relative to standard Go as loop counts grow; component model v0.2 enables multi-language components; build and deploy commands work and examples successfully run on Fastly’s network.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 1:05What is Fastly and CDN
- 4:22Today's agenda overview
- 5:04WebAssembly basics
- 10:10WASI and component model
- 13:28Go and TinyGo basics
- 16:46WebAssembly in real development
- 19:58Edge serverless benefits
- 21:22Go code deployable example
- 23:53Why Go and TinyGo for WASM
- 26:25Go vs TinyGo comparison
- 27:27Performance benchmark results
- 31:45How to try and next steps
related talks
13mUnleashing the Power of WebAssembly System Interface (WASI) in Go
18mGet Going With WebAssembly
33mKubernetes on the edge: running low-latency workloads with WebAssembly
48mWebAssembly Beyond the Browser
25mWebAssembly with Go: Powering the Web with Speed and Efficiency
35mWASI to Go: Write Once, Go Anywhere
38mIn the beginning was about metal, now is about Web: exploring WebAssembly in cloud envir.
27m"WASM: Bringing Go to the Browser (and Beyond!)"
