๐Ÿ”— API Patterns and Practices: gRPC
Home Chapters Examples Diagrams 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 versus @Blocking worker pool versus @RunOnVirtualThread, Python grpc.aio versus a thread pool and the GIL, and measuring what an execution model changes under concurrent blocking I/O.

18 min readRead โ†’
Chapter 16

Async and long-running jobs over gRPC

A server-owned Operation lets an RPC return a handle to a job that outlives the call, with polling, streaming progress, 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

  • Chapters
  • Examples
  • Bibliography

Reference

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