gRPC in Python. Build fast scalable APIs for your services
summary
Overview of a concrete Python gRPC setup: defines a single protobuf service Reader with a greet unary method, compiles it with protoc into Python stubs using grpcio-tools (and mypy-protobuf), implements the servicer and starts grpc.server with a thread pool on localhost:50051, then runs a client stub that sends a name and receives "Hello <name>"—demo code runs successfully. Also covers interceptors for client/server unary and streaming, HTTP/2 benefits, streaming modes, and serving browsers via gRPC‑Web plus a proxy.
AI-written summary · about
chapters (8)
- 0:00gRPC and APIs intro
- 2:17API tech evolution
- 4:44What is gRPC benefits
- 7:58gRPC challenges
- 9:21Use cases performance
- 10:22Demo gRPC server client
- 21:23gRPC interceptors
- 25:35Serving frontends gRPC Web








