๐Ÿ”— API Patterns and Practices: gRPC
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Browsers, Transcoding & Cross-Protocol
Part 10 2 chapters

Browsers, Transcoding & Cross-Protocol

Expose gRPC to a browser or REST client and choose gRPC vs alternatives, including over HTTP/3.

Chapter 23

gRPC-Web and JSON transcoding

A browser can't speak native gRPC. Envoy's grpc_web and grpc_json_transcoder filters close the gap from one descriptor, and a hand-written REST shim is the third door.

24 min readRead โ†’
Chapter 24

Cross-protocol choices and HTTP/3

gRPC, REST over HTTP/2 and WebSockets each suit a different caller, and gRPC over HTTP/3 is not available in grpc-java or grpcio. Measure the HTTP/2 baseline and probe HTTP/3 separately.

22 min readRead โ†’
โ† Previous part Observability, Mesh & Load Balancing Next part โ†’ Testing & Debugging

API Patterns and Practices: gRPC

Designing gRPC APIs well, with runnable examples in Quarkus and Python against one Protobuf contract.

Site

  • Chapters
  • Examples
  • Bibliography

Reference

  • Protocol Buffers โ†—
  • Buf โ†—
  • gRPC docs โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท MIT Last built 2026-11-11