gRPC & Protocol Buffers

High-performance RPC framework using Protocol Buffers — unary and streaming RPCs, HTTP/2 multiplexing, schema evolution, service mesh integration, and REST transcoding.

Overview

RPC over HTTP/2 with a strict schema

gRPC is an open-source, high-performance Remote Procedure Call framework developed by Google. It uses HTTP/2 as the transport and Protocol Buffers (Protobuf) as the interface definition language and wire format.

The workflow starts from one file. You write the service contract in a .proto file, and the protoc compiler turns it into a typed client stub (in Go, Java, Python and other languages) and a typed server stub. The client then calls the server over HTTP/2, sending binary Protobuf.

Key concepts

  • Protocol Buffers (Protobuf)
  • HTTP/2 Transport
  • Bidirectional Streaming
  • Field Numbers
  • gRPC-Gateway
  • gRPC Load Balancing

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio