AlgoViz

gRPC

medium 27 min

gRPC lets one program call a method in another program as if it were local.

Where it shows up

The same pattern appears across everyday software.

  • Google

    Built gRPC from what it learned with Stubby, the RPC system its data centers had used for over a decade.

  • Netflix

    A CNCF case study tells how the runtime platform team moved from its own HTTP/1.1 stack to gRPC after a month of comparing, above all for the contract and the generated code.

  • Square

    Worked on the first release and wrote in the 1.0 announcement that it would replace its own RPC solution with gRPC, with streaming as one reason.

  • etcd

    Its version 3 API is a set of gRPC services. A watch is a stream, and a gateway offers JSON.

  • Kubernetes

    The kubelet talks to the container runtime through the Container Runtime Interface, a gRPC API, and has built-in gRPC health probes.

  • Google APIs

    Google's public API guidance maps each RPC to an HTTP method and path with an annotation in the .proto, so one definition serves both.