Course
gRPC Services in Production
A production-minded path through protobuf contracts, streaming, interceptors, load balancing, operations, and the honest cases where REST remains the better interface.
Reviews
Enrolled members can rate this course.
No reviews yet.
Contracts and Service Design
Design protobuf APIs that evolve safely, communicate failure precisely, and survive versioning without breaking clients.
- 01Protobuf Contracts That Age WellModel RPCs and messages around stable business meaning, reserve compatibility room, and avoid schema habits that become migration debt.26mOpen
- 02Errors, Status Codes, and Metadata Clients Can UseReturn actionable machine-readable failure, separate transport identity from business context, and stop leaking implementation detail through errors.23mOpen
- 03Schema Evolution and Versioning Without a Flag DayEvolve protobuf contracts through additive change, compatibility checks, dual-read transitions, and disciplined deprecation rather than panic versioning.25mOpen
Runtime Behavior and Traffic Control
Use streaming deliberately, centralize cross-cutting behavior in interceptors, and make deadlines, retries, and cancellation explicit.
- 01Streaming Patterns That Do Not Eat ServersChoose unary, client, server, or bidirectional streaming based on ownership and backpressure, then bound streams before they pin memory and connections forever.27mOpen
- 02Interceptors for Cross-Cutting Behavior Without MagicPut authentication, logging, validation, metrics, and error mapping in predictable interceptor layers while preserving handler clarity.22mOpen
- 03Deadlines, Cancellation, and Retries That Do Not Multiply DamagePropagate deadlines across hops, honor cancellation quickly, and build retry policies only around idempotency and explicit status semantics.26mOpen
Production Operations and API Choices
Load balance long-lived connections, observe real RPC behavior, operate securely, and choose REST when it is genuinely the better tool.
- 01Load Balancing Long-Lived gRPC ConnectionsUnderstand why HTTP/2 connection reuse defeats naive L4 balancing, then choose client-side, proxyless, or L7 strategies that spread RPCs rather than TCP sessions.27mOpen
- 02Observability, Security, and Operational HygieneInstrument RPCs with meaningful cardinality, secure channels and identity, protect message boundaries, and build runbooks around real gRPC failure modes.25mOpen
- 03When REST Is Still the AnswerChoose between gRPC and REST by consumer shape, operational constraints, caching, debugging, and ecosystem fit — not by ideology or benchmark screenshots.24mOpen