Part 3
4 chapters
HTTP/2 & the Four RPC Types
Explain why gRPC is fast and implement and choose among all four RPC shapes.
Chapter 6
HTTP/2 foundation and why gRPC is fast
Streams, frames, multiplexing, and HPACK โ the HTTP/2 machinery gRPC rides on, and a measured comparison of binary protobuf against proto3 JSON on the same message.
Chapter 7
Unary RPCs and the generated code
The stub-to-stub path for a unary call in both stacks, the channel/stub split that governs every gRPC client, and the reuse rule that keeps it fast.
Chapter 8
Server-streaming
WatchShipment as the live-tracking hot path: one request opening a stream of ordered TrackingEvents, the half-close that ends it, and the generated Multi/async-generator shapes on each stack.
Chapter 9
Client-streaming and bidirectional
TrackingService.ReportPositions and .Sync โ folding a stream of requests into one answer, and running two independent directions on one connection.