gRPC
Definition
gRPC is a remote procedure call framework in which services and messages are defined in .proto files, code is generated for clients and servers, and calls travel as protobuf-encoded frames over multiplexed HTTP/2 streams.
In practice
The schema-first contract gives typed clients in many languages and catches breaking changes at compile time. Binary encoding is smaller and faster to parse than JSON, and HTTP/2 multiplexes many concurrent calls over one connection, with client, server and bidirectional streaming. It is common for internal service-to-service calls.
Browsers cannot call it directly without gRPC-Web or a proxy, and binary payloads are harder to inspect with everyday tools. Long-lived HTTP/2 connections defeat connection-level load balancers, so balancing must happen per request in the client or a proxy. It is still synchronous: a slow callee keeps the caller waiting.
Example
rpc GetPrice(PriceRequest) returns (PriceReply); in pricing.proto generates a typed client; a 40-field message is about 120 bytes on the wire versus about 900 bytes as JSON.