Building fast microservices with binary protocol - introduction to gRPC
summary
Claims gRPC is an open source, Google‑tested RPC that uses Protobuf3 and HTTP/2 streaming to get smaller binary messages, generated stubs, and client/server parity. Demos show Java Maven/Gradle integration, Spring Boot/RxJava hooks, and a working bi‑directional chat; generated code reduces boilerplate and the live demo runs. Measurements reported: internal Google traffic ~10^10 RPCs/sec and typical JSON over HTTP throughput is 2–3x slower, with noticeably better CPU and mobile bandwidth use.
AI-written summary · about
chapters (22)
- 0:00Start
- 0:41Google Cloud
- 4:57G Rpc
- 12:11Interface Definition
- 13:25What Is Http to and Why Do We Choose It
- 16:05Pipelining
- 18:08Header Compression
- 20:17Support Multiple Languages
- 20:49Coding
- 21:15Create the Interface Definition Language
- 22:43Message Payloads
- 24:02Strongly Typed Maps
- 27:37Add the Dependencies
- 28:42Maven Clean
- 32:23Implement the Server
- 35:00Interceptors
- 38:35Chat Application
- 39:08Java Fx Application
- 41:59Compilation Error
- 42:32Implement a Client
- 45:57Item Code Deadline Propagation
- 48:09How Do You Deal with Virtual Issues
related talks
54mgRPC 101 for Spring Developers
46mIntroduction to gRPC
50mEnabling Googley microservices with gRPC
55mgRPC 101 for Java Developers
46mgRPC vs REST: let the battle begin!
46mA Different Kind of Networking with gRPC and Protocol Buffers
40mgRPC, let's communicate differently
01h 01mBuilding Microservice Communication with gRPC
