Skip to content

Commit 1336b19

Browse files
committed
docs: fix typo in dubbo-serialization-protocol.md and close doocs#56
* Change `protocal` to `protocol` * Close doocs#56 * Thanks @foolish1024
1 parent b9058b9 commit 1336b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/distributed-system/dubbo-serialization-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ Hessian 的对象序列化机制有 8 种原始类型:
6868
- ref:用来表示对共享对象的引用。
6969

7070
### 为什么 PB 的效率是最高的?
71-
可能有一些同学比较习惯于 `JSON` or `XML` 数据存储格式,对于 `Protocal Buffer` 还比较陌生。`Protocal Buffer` 其实是 Google 出品的一种轻量并且高效的结构化数据存储格式,性能比 `JSON``XML` 要高很多。
71+
可能有一些同学比较习惯于 `JSON` or `XML` 数据存储格式,对于 `Protocol Buffer` 还比较陌生。`Protocol Buffer` 其实是 Google 出品的一种轻量并且高效的结构化数据存储格式,性能比 `JSON``XML` 要高很多。
7272

7373
其实 PB 之所以性能如此好,主要得益于两个:**第一**,它使用 proto 编译器,自动进行序列化和反序列化,速度非常快,应该比 `XML``JSON` 快上了 `20~100` 倍;**第二**,它的数据压缩效果好,就是说它序列化后的数据量体积小。因为体积小,传输起来带宽和速度上会有优化。

0 commit comments

Comments
 (0)