gRPC 101 for Spring Developers
summary
gRPC uses HTTP/2 and protobuf3, generates idiomatic language stubs via protoc, and claims 3x throughput over REST in the demo numbers; Google notes ~10^10 RPCs/sec and ~1 Pabit/sec internal bandwidth as motivation. The demo shows Java code: a proto file → Maven plugin runs protoc → generated async server methods using responseObserver, a blocking and async client channel, and a working server/client/bidirectional streaming chat plus a Spring Boot starter + Eureka proof-of-concept that actually runs and load balances.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 0:35About Ray
- 1:30Kubernetes
- 2:03Microservices
- 3:58Stubby
- 5:20RPC
- 7:52Why RPC
- 9:58What is gRPC
- 10:44gRPC Technology
- 13:29gRPC vs REST
- 16:10Creating a gRPC server
- 24:31Implementing the server
- 28:31Starting the server
- 30:21Creating a channel
- 34:21Errorhandling
- 36:41Chat profile
- 37:46Bidirectional streaming
- 43:01Sending messages
- 45:36Testing
related talks
55mgRPC 101 for Java Developers
49mBuilding fast microservices with binary protocol - introduction to gRPC
46mIntroduction to gRPC
46mgRPC vs REST: let the battle begin!
50mEnabling Googley microservices with gRPC
40mgRPC, let's communicate differently
34mBootiful gRPC
45mgRPC vs REST: let the battle begin!
