Introduction to gRPC
summary
gRPC uses HTTP/2 plus protocol buffers to replace JSON/REST for lower latency and smaller payloads; measured migration on Pub/Sub shows roughly 3x throughput with a quarter of the CPU. Workflow: define services in a .proto, generate language-specific stubs (Maven/Gradle/nuget), implement a server that extends the generated base, and create channels with blocking or async stubs on the client. Live demo builds a Java server and Java and .NET clients that use bidirectional streaming and work end to end.
AI-written summary · about
chapters (9)
- 0:00Introduction to gRPC
- 5:07Why use RPC over REST
- 11:52gRPC fundamentals
- 17:12Java hello world demo
- 23:28Benefits of gRPC
- 30:17HTTP/2 efficiency
- 32:05Connection options
- 33:09Chat app demo
- 39:42Q&A session








