IT lexicon › Programming › Protocol Buffers

Protocol Buffers Protobuf

Programming På svenska → Updated: 2026-05-24

Google's binary serialization format. Schema-based (.proto files), compiles to code in many languages. Standard in gRPC + microservices.

Open-sourced 2008, internal since ~2001. Faster and more compact than JSON (typically 3–10×). proto3 (2014) simplified things. Supports backward + forward compatibility if you follow the rules (only add new fields, never change field numbers). Alternatives: Apache Thrift (Facebook), Cap'n Proto (Sandstorm, zero-copy), FlatBuffers (Google, game-focused), MessagePack (binary JSON-like).

← Back to the lexicon