gRPC
Also called: Google RPC framework, gRPC streaming
gRPC is an RPC framework with a defined protocol, commonly using HTTP/2 and Protocol Buffers. A service definition specifies callable methods and message types; generated client and server code connects those definitions to application logic. Calls can be unary, client-streaming, server-streaming or bidirectional-streaming.
For a hypothetical telemetry service, WatchSensor can accept one sensor identifier and return a stream of readings. Each call also has status and may have metadata and a deadline. A client deadline expiring does not prove that the server performed no work, and cancellation does not undo changes already made.
- Read first
- Remote procedure call
- Related
- Remote procedure call, Protocol Buffers, HTTP/2