Protobuf is what happens when engineers hate paying 3 bytes for a brace so much they’re willing to make every future debugging session everyone else’s problem.
The spicy version:
- It turns data interchange into schema hostage negotiation.
- Your payload is “efficient,” which is a cute way of saying nobody can read it.
- The happy path is great right up until you need to inspect, patch, diff, grep, backfill, or recover anything by hand.
- It works beautifully in tightly-controlled systems where every producer and consumer is versioned, generated, and blessed by the same priesthood.
- The moment normal humans, SQL tools, data pipelines, or third-party integrations touch it, the tax bill arrives.
- Struct, Any, and giant oneofs are protobuf’s way of admitting that reality is messy and your “strong schema” is about to become typed fan fiction.