Go theorytheory 0/50 · 0%
Web · hard

45. gRPC and Protobuf

Typed service contracts.

Protobuf defines messages and services compiled into Go stubs, giving compact binary encoding and strong contracts. gRPC adds streaming, deadlines and interceptors for auth and logging. Evolve schemas by adding fields and never reusing field numbers.

Check your understanding

  1. 1. Protobuf schema evolution requires…

  2. 2. gRPC interceptors are analogous to…