gRPC 101 for Java Developers
summary
gRPC for Java uses Protobuf3 IDLs, generates Java stubs via Maven/Gradle plugins, and runs over HTTP/2 for compressed headers and multiplexed streams. Demo shows unary calls and StreamObserver-based server, client and bidirectional streaming (a JavaFX chat app) that runs live. Covers client-side load balancing with name resolvers (Eureka example), deadlines/cancellation, interceptors/metadata, and claims Google’s internal Stubby handles 10^10 RPCs/sec for high-throughput services.
AI-written summary · about
chapters (13)
- 0:00Start
- 7:32creating swagger documents
- 11:21compress the headers
- 16:41start writing the service in the payload
- 22:13define the dependency
- 33:00load balancing g rpc
- 37:11build a chat application
- 37:27define the payload
- 41:09set the actual message payload
- 42:24create a java fx application
- 49:04setting a deadline
- 52:00add a new attribute
- 52:40add a new payload
related talks
54mgRPC 101 for Spring Developers
49mBuilding fast microservices with binary protocol - introduction to gRPC
46mIntroduction to gRPC
46mA Different Kind of Networking with gRPC and Protocol Buffers
14mOverview of gRPC
50mEnabling Googley microservices with gRPC
46mgRPC vs REST: let the battle begin!
20mKeynote: Overview of gRPC
