Strongly typed, binary, fast — and the default for service-to-service.
gRPC and Protobuf: strongly typed, binary, fast
turn boundaries into contracts
Browser support is limited; needs proxy.
gRPC uses Protocol Buffers as its IDL and binary wire format, transported over HTTP/2. It's compact, type-safe, supports streaming, and is the default for internal microservice calls in many companies.
Schema-first: .proto files generate clients and servers in many languages.
Streaming: unary (request/response), server stream, client stream, bidirectional.
Pick gRPC for internal latency-sensitive calls; REST/JSON for public APIs and browser clients (gRPC-Web exists but is more constrained).
Replace internal REST call with gRPC.