๐Ÿ”— API Patterns and Practices: gRPC
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Streaming at Scale & Performance
Part 7 2 chapters

Streaming at Scale & Performance

Run streaming safely under load and tune and benchmark the service.

Chapter 17

Streaming deep-dive

HTTP/2 flow control, demand-driven production with Mutiny and async generators, and keepalive for streams that sit quiet.

26 min readRead โ†’
Chapter 18

Performance tuning

Channel reuse, keepalive, message-size caps, gzip and a ghz load test: four levers on GetQuote and ListRoutes, with the cost of each.

28 min readRead โ†’
โ† Previous part Concurrency & Long-Running Work Next part โ†’ Security

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