๐Ÿ”— API Patterns and Practices: gRPC
Chapters Examples 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

Flow control and backpressure, HTTP/2 window dynamics, reactive backpressure (Mutiny Multi demand) vs async-generator pull, slow-consumer handling, and keepalive on long-lived streams.

26 min readRead โ†’
Chapter 18

Performance tuning

Channel and stub reuse revisited, keepalive, max-message-size, gzip compression, connection pooling, and benchmarking with ghz.

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

  • Outline
  • Bibliography

Reference

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