gRPC: High-Performance RPC
Shriira Press
Call remote methods like local functions — fast, typed, and cross-language. Master gRPC, Protocol Buffers, and HTTP/2 for modern service communication.
Welcome to gRPC: High-Performance RPC.
gRPC is a high-performance, open-source, universal RPC framework that makes calling a method on a remote service as simple as a local function call — efficiently and across languages. This free book teaches it from the ground up: the service-communication problem and what gRPC is, RPC and the landscape (gRPC vs REST), Protocol Buffers (the IDL and binary serialization), defining services (.proto contracts), HTTP/2 (the transport), the four RPC types and streaming (unary, server, client, bidirectional), building clients and servers (code generation, cross-language), errors/deadlines/metadata (robust communication), security/interceptors/advanced features (TLS, mTLS, middleware, load balancing), and gRPC in practice (when to use it, gRPC-Web, the ecosystem). Ten focused chapters with clear diagrams that demystify modern, efficient, strongly-typed, cross-language service communication — define a contract, generate code, and call remote methods like local ones.
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press