gRPC + Protocol Buffers
RPC framework over HTTP/2 with schemas in .proto files and generated clients.
Strengths
- Typed contracts and generated code across languages.[1] Introduction to gRPC, Primary, Not yet verified by an editor
- Compact binary messages and multiplexed HTTP/2 connections.[2] Protocol Buffers overview, Primary, Not yet verified by an editor
- Built-in client, server and bidirectional streaming.[4] Compare gRPC services with HTTP APIs, Secondary, Not yet verified by an editor
Weaknesses
- Harder to inspect and call ad hoc.
Choose it when
- Many polyglot internal services with high call volume or streaming.
Limitations
- Browsers need gRPC-Web or a proxy.[3] gRPC-Web basics tutorial, Primary, Not yet verified by an editor