All specs
proto3gRPCShould KnowProductAPI Design

Protocol Buffers

API Design·Google / gRPC
WHY YOU NEED THIS

Protobuf is the wire format for gRPC and many high-performance internal APIs. Schemas are also used for event/message contracts in Kafka/pubsub systems.

What It Defines

Google's language-neutral, platform-neutral binary serialization format. Defines `.proto` schema files, data types, field numbers, and binary encoding rules. More compact than JSON; requires schema for decoding.

Canonical (Normative)

Convenient (Practical)

protobufserializationbinaryschemagrpc
Standards Body
Google / gRPC

gRPC is an open-source RPC framework originally developed at Google. It uses Protocol Buffers (protobuf) as its IDL and wire format, and HTTP/2 as the transport. Now a CNCF graduated project.

Visit

Related Specs

gRPC over HTTP/2gRPCShould Know

gRPC

gRPC is the dominant service-to-service RPC in polyglot microservices. Smaller payloads and faster than JSON/REST for high-throughput internal APIs.

ProductAPI DesignAPI Design
Details
RFC 8259RFCMust Know

JSON

JSON is the lingua franca of web APIs. RFC 8259 is short and worth reading once — it clarifies edge cases around numbers, encoding, and trailing commas.

ProductData Formats
Details