Part 3
3 chapters
Interfaces: HTTP & gRPC
Serve HTTP and gRPC directly from a component, and handle the networking, reconnect, and resilience concerns a sandboxed component faces differently than a conventional service.
Chapter 11
HTTP from a Component
Serve HTTP from a WebAssembly component with the wasi-http proxy world, compose it with the cargo provider via wac plug, and run it under wasmtime serve in Rust and Go.
Chapter 12
gRPC with Wasm
Protobuf runs inside a Wasm component, gRPC transport does not: encode and decode in the sandbox, and terminate gRPC in a native bridge in front of the unchanged provider.
Chapter 13
Networking, Reconnect, and Resilience
Outbound TCP from a component through wasi:sockets, the host grant that decides whether a connect can happen at all, and the reconnect loop with exponential backoff and jitter.