# Protocol Buffers

**Protocol Buffers**（protobuf）是谷歌（Google）开发的一种语言中立、平台中立的序列化系统。在其中，数据结构在模式文件（.proto）中声明，特定语言的代码由该模式生成，消息以紧凑的二进制线格式交换，该格式按字段编号而非字段名编码数据。<sup>[1](https://atlarge-research.com/pdfs/2026-fbastiaan-bsc_thesis.pdf)</sup> 与 JSON 不同，protobuf 通常要求预先定义模式，并据此生成该模式专用的序列化与反序列化代码；它与 [Apache Avro](https://www.edgepedia.org/zh/apache-avro)、Apache Thrift、[FlatBuffers](https://www.edgepedia.org/zh/flatbuffers) 和 Cap'n Proto 同属模式驱动的二进制格式家族。<sup>[2](https://arxiv.org/pdf/2201.02089v2)</sup> 其线格式自 2008 年起冻结不变；该格式自身的综述文献将这种稳定性列为其长盛不衰的主要原因之一。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 线格式 | 消息是键值记录序列；标签是一个 varint，按 (field_number << 3) \| wire_type 计算，共有六种线类型（VARINT、I64、LEN、SGROUP、EGROUP、I32）<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup> |
| Varint | 无符号 64 位整数编码为 1 到 10 个字节；0–127 的值占一个字节；未使用 ZigZag 的负 int32/int64 值占 10 个字节<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup><sup> • </sup><sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> |
| 字段编号 | 范围 1 到 536,870,911；19,000–19,999 保留给实现；编号永久有效，绝不能重复使用<sup>[5](https://jsonic.io/guides/json-protobuf)</sup><sup> • </sup><sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup> |
| 大小对比 JSON | 基准测试报告的收益差异很大：一项 gRPC 基准中缩小 33.9–37.1%，另一项中约缩小 60–80%，而在被调查的研究中最高可缩小 95%<sup>[7](https://markaicode.com/vs/grpc-20-binary-protobuf-vs-json-benchmarks-for-microservices/)</sup><sup> • </sup><sup>[5](https://jsonic.io/guides/json-protobuf)</sup><sup> • </sup><sup>[8](https://arxiv.org/html/2201.03051v1)</sup> |
| Editions | Edition 2023 将 proto2 和 proto3 合并为一种定义格式；最新发布的 edition 是 2024；editions 大约每年发布一次，且不改变序列化格式<sup>[9](https://protobuf.dev/editions/overview/)</sup> |
| gRPC | Protobuf 定义消息格式和服务 IDL；gRPC 定义 HTTP/2 分帧、流式传输和连接生命周期；二者可以各自独立使用<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> |
| 安全模型 | 模式、编译器和生成代码受信任；传入的线格式字节是敌对的，解析器会施加可配置的深度限制，以防不受控递归<sup>[10](https://github.com/protocolbuffers/protobuf/blob/91b86b0535eed545a6bb35cbd0eac154362a13ac/SECURITY.md)</sup> |

## 历史与开源

protobuf 最初在谷歌内部开发；经过数年内部使用，该格式及其代码生成流水线得到完善，之后才于 2008 年首次在谷歌之外广泛发布。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> 2008 年的发布恰逢微服务兴起；2015 年 gRPC 发布，使 protobuf 成为一套易于使用的、基于 HTTP/2 的 RPC 框架的默认线格式。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> protobuf 在谷歌内部的使用规模一直很大，且持续很久：尽管 proto3 已于 2016 年中发布，但 2021 年一项针对谷歌服务器集群的研究发现，那里序列化和反序列化的 protobuf 字节中仍有 96% 是用 proto2 语言定义的。<sup>[11](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)</sup> 开源之后，protobuf 仍在谷歌的许多产品中被广泛使用。<sup>[1](https://atlarge-research.com/pdfs/2026-fbastiaan-bsc_thesis.pdf)</sup>

## 格式如何工作

**记录与标签。** 线格式将一条消息表示为一系列（键，值）对。每个键都是一个 varint，由字段编号和 3 位线类型通过 (field_number << 3) | wire_type 构成，因此低 3 位承载线类型，其余位承载字段编号。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup><sup> • </sup><sup>[11](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)</sup> 共有六种线类型：VARINT、I64、LEN、SGROUP、EGROUP 和 I32。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup> 举一个具体例子：字段 1 保存值 123456789 时，编码为一个单字节标签 0x08，再加一个四字节 varint，总共五个字节。<sup>[12](https://mechanicalsnail.com/posts/wire-formats-rust/)</sup>

**Varint。** varint 将一个无符号 64 位整数编码为 1 到 10 个字节，值越小占用的字节越少。每个字节的最高位是延续位，指示下一个字节是否属于同一个值；低 7 位是有效载荷，算法从输入值的最低有效端开始，每次取 7 位。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup><sup> • </sup><sup>[11](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)</sup> 0 到 127 的值可装入单个字节。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup> 由于二进制补码表示的负数最高位为 1，一个负 int32 或 int64 若按普通 varint 编码，会占 10 个字节；sint32 和 sint64 类型则改用 ZigZag 编码，将正整数 p 映射为 2·p，将负整数 n 映射为 2·|n| − 1，因此无论正负，绝对值小的值都能紧凑编码。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup><sup> • </sup><sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup>

**长度定界数据与省略。** LEN 线类型以一个 varint 编码的字节长度开头，随后是数据，涵盖字符串、字节数组、子消息和打包的重复字段。<sup>[11](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)</sup> 线格式上没有数组类型：重复出现的标签编号表示多值字段。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup> 如果可选字段未设置，或重复字段不含任何值，编码输出会直接省略它。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup> 序列化后的 proto 必须小于 2 GiB；许多实现会拒绝更大的消息。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup>

## 模式语言、字段编号与 Editions

字段编号范围为 1 到 536,870,911，在一条消息内必须唯一，且一旦分配就永久有效；19,000 到 19,999 这一范围保留给 protobuf 实现。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup> 编号上限为 29 位，因为标签中有 3 位用于编码线类型。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup>

**演进规则。** 每个字段都带有字段编号和线类型，因此无法识别某个字段编号的读取方可以跳过它；用新编号添加可选字段，在两个方向上通常都是安全的。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> 字段可以重命名，因为二进制编码中不存在名称，但标签编号绝不能更改；被删除的字段应标记为 reserved，使其编号永不被重复使用。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup><sup> • </sup><sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> 将可选字段改为重复字段通常不安全：重复的数值字段默认使用打包编码，而期望单值字段的读取方无法正确解析；对于其他原始类型，单值读取方只会保留最后一个值；更改 required 字段则有运行时错误风险，因为 required 会增加一项校验。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup><sup> • </sup><sup>[22](https://protobuf.dev/programming-guides/proto3/)</sup>

**proto2 与 proto3。** 在 proto2 中，未知字段标签会存入消息的 UnknownFieldSet，以便之后重新序列化；proto3 最初取消了这一做法，会丢弃未知字段，而从 3.5 版起，未知字段在解析时又会保留下来，并包含在序列化输出中。<sup>[13](https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html)</sup><sup> • </sup><sup>[14](https://www.cs.purdue.edu/homes/bendy/papers/Narcissus/protobuf.pdf)</sup>

**Editions。** Protobuf Editions 取代 proto2 和 proto3 这两种称谓：文件不再声明 syntax 行，而是声明 edition 编号，例如 edition = "2024"。Edition 2023 确立了基线，并将 proto2 和 proto3 的定义合并为单一的定义格式；最新发布的 edition 是 2024，editions 计划大约每年发布一次，且不改变二进制、文本或 JSON 序列化格式。<sup>[9](https://protobuf.dev/editions/overview/)</sup> 从 Edition 2023 开始，原始标量类型的重复字段默认采用打包编码。<sup>[4](https://protobuf.dev/programming-guides/encoding/)</sup> 在代码生成方面，2024 年 12 月 18 日宣布的 Go Opaque API 将生成的结构体字段隐藏在访问器方法之后，使生成的 API 与内存表示解耦，每个字段使用一个存在性位而不是 64 位指针；Edition 2024 使其成为 Go 的默认方式，谷歌用 open2opaque 工具将其绝大多数 .proto 文件和 Go 代码转换为这种方式。<sup>[15](https://go.dev/blog/protobuf-opaque)</sup>

## 数据一览

已发表的 protobuf 与 JSON 对比测量结果，会因工作负载和分母不同而差异很大；这种离散程度值得如实列出，而不是用平均值抹平。

- **有效载荷大小。** 一项对多项研究的综述报告称，包括 protobuf 在内的模式驱动格式生成的编码可比 JSON 小最多 95%。<sup>[8](https://arxiv.org/html/2201.03051v1)</sup> 一项 Go 基准测试测得 protobuf 的线格式大小约为 JSON 的四分之一。<sup>[16](https://randomcommits.com/go-serialization-protobuf-flatbuffers/)</sup> 一项 gRPC 基准测试测得消息小 33.9–37.1%（小消息为 82 字节对 124 字节；大消息为 782,340 字节对 1,243,512 字节）。<sup>[7](https://markaicode.com/vs/grpc-20-binary-protobuf-vs-json-benchmarks-for-microservices/)</sup> 一份技术指南报告称，在 Go、Java 和 C++ 基准中有效载荷减少 60–80%，其中整数和枚举密集的消息收益最大。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup> 共同机制是用字段编号取代字段名。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup>

- **吞吐量、CPU 与延迟。** 同一项 gRPC 基准测试（8 核至强（Xeon）服务器、1 Gbps 网络、每种情况 100 万次请求）发现，对于 100 字节消息，protobuf 吞吐量比 JSON 高 20.7%；10 KB 消息高 69.9%；1 MB 消息高 77.8%；CPU 使用率低 12.8–28.9%，延迟低 20–43%（中等消息为 3.8 毫秒对 6.5 毫秒）。<sup>[7](https://markaicode.com/vs/grpc-20-binary-protobuf-vs-json-benchmarks-for-microservices/)</sup> 在 Go 中，protobuf 反序列化的运行速度约为 json.Unmarshal 的 8.5 倍，分配的内存约为其七分之一。<sup>[16](https://randomcommits.com/go-serialization-protobuf-flatbuffers/)</sup> 在一项分布式微服务基准测试中，protobuf 将服务间延迟中位数相较 JSON 降低 82.4%，落后于 Avro 的 84.3%，领先于 Thrift 的 80.4%。<sup>[17](https://science.lpnu.ua/sites/default/files/journal-paper/2024/dec/36976/1-acps-9-2-maltsev1-89-94.pdf)</sup> 性能剖析将这些差异归因于各格式特有的机制：JSON 中的文本转换与键输出，protobuf 中的 varint 与逐字段字节编码，以及 FlatBuffers 中的偏移量/虚表解析。<sup>[18](https://repository.iu.org/items/fd1b192a-b74b-458c-b960-22be060f5a4a/full)</sup>

## 与其他方案比较

protobuf 是若干模式驱动格式之一，各有取舍。就模式演进而言，Thrift 的工作方式与 protobuf 很像：其 IDL 要求每个字段携带一个手动选择的标签，标签和字段类型都会记录在二进制编码中，使解析器可以跳过不认识的字段；一条示例记录在 Thrift 的 CompactProtocol 下占 34 字节，而在其 BinaryProtocol 下占 59 字节。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup> Avro 在理念上不同：写入方模式和读取方模式可以不同，并通过解析规则在二者之间转换，而 protobuf 会为每个字段单独打标签。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup>

**零拷贝格式。** Cap'n Proto 作者所做的一项功能比较显示，protobuf 缺少零拷贝和随机访问读取能力，而 Cap'n Proto、SBE 和 FlatBuffers 支持这些能力；同时，protobuf 是四者中唯一可用作可变状态的格式；四者都允许添加字段而不破坏向后兼容性。<sup>[13](https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html)</sup> protobuf 必须先解析整条消息才能使用其中任何内容，不像 FlatBuffers 和 Cap'n Proto 那样允许随机访问。<sup>[13](https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html)</sup> FlatBuffers 以某种内存布局编码数据，允许直接对缓冲区进行指针运算，适合延迟敏感的应用，但不如 protobuf 紧凑。<sup>[12](https://mechanicalsnail.com/posts/wire-formats-rust/)</sup>

已发表的基准测试在零拷贝优势到底有多重要这一点上结论不一。在一项分布式基准测试中，FlatBuffers 的原始序列化最快（中位数 1.52 μs/op，protobuf 为 26.86 μs/op，JSON 为 33.2 μs/op），但 FlatBuffers 和 Cap'n Proto 在分布式场景中表现不佳；该研究得出结论：对于端到端延迟，有效载荷的紧凑性比序列化速度更重要。<sup>[17](https://science.lpnu.ua/sites/default/files/journal-paper/2024/dec/36976/1-acps-9-2-maltsev1-89-94.pdf)</sup> 2024 年另一项评估得出了相同结论，并将其分布式性能较低归因于消息尺寸更大。<sup>[19](https://science.lpnu.ua/csn/all-volumes-and-issues/volume-6-number-2-2024/evaluation-efficiency-and-performance)</sup> 相比之下，一项以 Rust 为重点的比较称，protobuf 是典型微服务 RPC 的最佳平衡点：序列化速度为所比较的替代方案的 2.9 倍、反序列化速度为其 3.6 倍、消息比其小 65%。<sup>[12](https://mechanicalsnail.com/posts/wire-formats-rust/)</sup> 一项被综述的研究甚至发现，无模式的 [MessagePack](https://www.edgepedia.org/zh/messagepack) 格式在某些场景下比 protobuf 和 Avro 小最多 23%，这表明 protobuf 的紧凑性优势并非普遍成立。<sup>[8](https://arxiv.org/html/2201.03051v1)</sup>

**何时不宜选用 protobuf。** 综述文献指出了其他格式更合适的情形：生产方与消费方之间无法强制实施模式时；需要零拷贝访问时（FlatBuffers 或 Cap'n Proto）；需要列式布局时（Parquet、Arrow）；或需要确定性规范编码时，因为 protobuf 的确定性模式是尽力而为的，且跨版本并不规范。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup>

## 与 gRPC 及生态系统的配合使用

protobuf 与 gRPC 之间有明确的职责划分：protobuf 定义消息格式和服务 IDL，而 gRPC 定义请求/响应流程、HTTP/2 分帧、流式语义和连接生命周期；二者可以各自独立使用。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup> 尽管如此，protobuf 仍是 gRPC 的默认序列化格式，而 gRPC 被广泛用于谷歌、奈飞（Netflix）和优步（Uber）的内部微服务通信。<sup>[5](https://jsonic.io/guides/json-protobuf)</sup> 在工具方面，Buf 提供模式 linter、破坏性变更检测器和远程模式注册表；综述文献称其为过去十年中 protobuf 生态系统最重要的进展。<sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup>

## 安全与健壮性考量

protobuf 文档化的威胁模型将 .proto 模式文件、protoc 编译器和生成代码视为完全可信，而传入的二进制线格式字节不可信，且可能具有对抗性；解析器必须安全地处理或拒绝任意字节流，不得造成内存破坏或远程代码执行，并会施加可配置的深度限制，以防不受控递归导致资源耗尽。<sup>[10](https://github.com/protocolbuffers/protobuf/blob/91b86b0535eed545a6bb35cbd0eac154362a13ac/SECURITY.md)</sup> 该设计已接受谷歌安全团队的安全审查，其 API 旨在减少应用代码中的安全错误。<sup>[13](https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html)</sup>

递归与解析复杂性已经产生了真实漏洞。CVE-2024-7254（CVSS 4.0 评分 8.7，高危）是 protobuf Java Lite 和 Full 库中的拒绝服务漏洞：使用 DiscardUnknownFieldsParser、Java Lite 解析器，或针对 map 字段，将嵌套 group 作为未知字段解析时，会产生无界递归，恶意构造的消息可将其变成 StackOverflow 错误和程序崩溃；该漏洞由 Trail of Bits 的亚历克西斯·沙朗德（Alexis Challande）报告。<sup>[20](https://github.com/advisories/ghsa-735f-pc8j-v9w8)</sup> CVE-2025-4565 影响 Python 实现：超过 Python 递归限制可能损坏标签，使应用因 RecursionError 崩溃；修复版本为 6.31.1 或更高。<sup>[21](https://osv.dev/vulnerability/UBUNTU-CVE-2025-4565)</sup>

模式设计也具有防御意义。仅凭线类型并不能确定字段的模式类型，因为多种模式类型会映射到同一种线类型，所以被误解的字段可能悄无声息地通过。<sup>[11](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)</sup> 缓解之道就是演进规则：绝不更改标签编号，保留已删除字段的编号，并依靠未知字段跳过机制，使新旧读取方能够互操作。<sup>[6](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)</sup><sup> • </sup><sup>[3](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)</sup>

## References

1. [On data shape and its impact on relative performance of serialisation libraries (BSc thesis, ATLarge Research)](https://atlarge-research.com/pdfs/2026-fbastiaan-bsc_thesis.pdf)
2. [A Survey of JSON-compatible Binary Serialization Specifications (arXiv)](https://arxiv.org/pdf/2201.02089v2)
3. [Protobuf — Survey of Binary Serialization Formats (Cloudstreet Dev)](https://cloudstreet-dev.github.io/Binary-Serialization-Survey/ch08-protobuf.html)
4. [Encoding | Protocol Buffers Documentation (protobuf.dev)](https://protobuf.dev/programming-guides/encoding/)
5. [Protobuf vs JSON Performance: Benchmarks, gRPC-Gateway & Go (jsonic.io)](https://jsonic.io/guides/json-protobuf)
6. [Schema evolution in Avro, Protocol Buffers and Thrift — Martin Kleppmann](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)
7. [gRPC 2.0: Binary Protobuf vs JSON Benchmarks for Microservices (markaicode.com)](https://markaicode.com/vs/grpc-20-binary-protobuf-vs-json-benchmarks-for-microservices/)
8. [A Benchmark of JSON-compatible Binary Serialization Specifications (arXiv)](https://arxiv.org/html/2201.03051v1)
9. [Protobuf Editions Overview | Protocol Buffers Documentation (protobuf.dev)](https://protobuf.dev/editions/overview/)
10. [SECURITY.md — protocolbuffers/protobuf (GitHub)](https://github.com/protocolbuffers/protobuf/blob/91b86b0535eed545a6bb35cbd0eac154362a13ac/SECURITY.md)
11. [A Hardware Accelerator for Protocol Buffers (ProtoAcc, MICRO 2021)](https://sagark.org/assets/pubs/protoacc-micro2021-preprint.pdf)
12. [Wire Formats Compared: Protobuf, Cap'n Proto & FlatBuffers (mechanicalsnail.com)](https://mechanicalsnail.com/posts/wire-formats-rust/)
13. [Cap'n Proto, FlatBuffers, and SBE (capnproto.org)](https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-sbe.html)
14. [A Verified Protocol Buffer Compiler (Purdue University)](https://www.cs.purdue.edu/homes/bendy/papers/Narcissus/protobuf.pdf)
15. [Go Protobuf: The new Opaque API (go.dev)](https://go.dev/blog/protobuf-opaque)
16. [Serialization Benchmarks: Go JSON vs. Protobuf vs. FlatBuffers (randomcommits.com)](https://randomcommits.com/go-serialization-protobuf-flatbuffers/)
17. [Impact of Serialization Format on Inter-Service Latency (ACPS 9(2), 2024)](https://science.lpnu.ua/sites/default/files/journal-paper/2024/dec/36976/1-acps-9-2-maltsev1-89-94.pdf)
18. [Serialization Trade-Offs in Distributed Systems (IU repository)](https://repository.iu.org/items/fd1b192a-b74b-458c-b960-22be060f5a4a/full)
19. [Evaluation of Efficiency and Performance of Serialization Formats for Distributed Systems (CSN 6(2), 2024)](https://science.lpnu.ua/csn/all-volumes-and-issues/volume-6-number-2-2024/evaluation-efficiency-and-performance)
20. [protobuf-java has potential Denial of Service issue · CVE-2024-7254 (GitHub advisory)](https://github.com/advisories/ghsa-735f-pc8j-v9w8)
21. [OSV — UBUNTU-CVE-2025-4565](https://osv.dev/vulnerability/UBUNTU-CVE-2025-4565)
22. [Language Guide (proto 3)](https://protobuf.dev/programming-guides/proto3/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Frameworks, libraries, and APIs › Mobile and platform frameworks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/protocol-buffers

English original: https://www.edgepedia.org/protocol-buffers
