Blog
Developer Blog
Introducing wasi-grpc for Spin
Brian is a Senior Software Engineer at Akamai. He is the lead on the Functions developer experiences team and a core maintainer of the CNCF Spinframework/Spin project.
Modern microservice ecosystems often rely on gRPC for efficient, strongly typed communication. gRPC builds on top of HTTP/2, taking advantage of multiplexed streams and binary serialization (Protobuf) to deliver high throughput and low latency.
Until Spin 3.4, Spin components could only make outbound HTTP/1.1 requests. This meant gRPC clients could not run inside Spin directly; developers instead had to rely on sidecars or proxy services to bridge the gap. This added extra complexity and slowed down applications.
Spin 3.4 introduces outbound HTTP/2 support, enabling components to act as first-class gRPC clients.…