Overview of gRPC
summary
gRPC is a high-performance RPC framework built on HTTP/2 and Protocol Buffers; a channel manages TCP connections, does pluggable name resolution, and hands off to load balancing (default pick_first, option round robin). Calls map to HTTP/2 streams and support four patterns (unary, server/client/bidirectional streaming). Features covered include interceptors, client-side deadlines with deadline propagation, cancellation propagation to downstreams, configurable retry policies (max attempts, exponential backoff), and graceful vs forceful channel shutdown.
AI-written summary · about
chapters (11)
- 0:00Welcome to gRPC
- 1:27Core features and design
- 2:32gRPC channels and stubs
- 3:54Name resolution
- 4:59Load balancing
- 5:45Communication patterns
- 7:08Interceptors
- 7:51Deadlines and cancellation
- 9:39Retry mechanism
- 11:23Status codes and shutdown
- 12:26Summary and best practices








