๐Ÿ”— API Patterns and Practices: gRPC
Chapters Examples Bibliography GitHub โ†—
Home / Concurrency & Long-Running Work
Part 6 2 chapters

Concurrency & Long-Running Work

Serve I/O-bound RPCs without exhausting threads and model work that outlives one call.

Chapter 15

Backend I/O concurrency

Quarkus event-loop vs @Blocking worker pool vs @RunOnVirtualThread, Python grpc.aio vs a thread pool vs the GIL, and measuring the difference an execution model makes under concurrent blocking I/O.

26 min readRead โ†’
Chapter 16

Async and long-running jobs over gRPC

The server-owned Operation pattern with progress streaming, cancellation, and a rerunnable reconcile job.

24 min readRead โ†’
โ† Previous part Schema Evolution & the Living Contract Next part โ†’ Streaming at Scale & Performance

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