Skip to content

Commit

Permalink
Merge pull request doocs#25 from a631807682/master
Browse files Browse the repository at this point in the history
Update dubbo-serialization-protocol.md
  • Loading branch information
yanglbme authored Jan 10, 2019
2 parents 4d55ba6 + 94bdc15 commit 6b500e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/distributed-system/dubbo-serialization-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dubbo 支持哪些通信协议?支持哪些序列化协议?说一下 Hessian
## 面试题剖析
**序列化**,就是把数据结构或者是一些对象,转换为二进制串的过程,而**反序列化**是将在序列化过程中所生成的二进制串转换成数据结构或者对象的过程。

![serialize-deserialize](/img/serialize-deserialize.png)
![serialize-deserialize](/images/serialize-deserialize.png)

### dubbo 支持不同的通信协议
- dubbo 协议
Expand All @@ -20,11 +20,11 @@ dubbo 支持哪些通信协议?支持哪些序列化协议?说一下 Hessian

长连接,通俗点说,就是建立连接过后可以持续发送请求,无须再建立连接。

![dubbo-keep-connection](/img/dubbo-keep-connection.png)
![dubbo-keep-connection](/images/dubbo-keep-connection.png)

而短连接,每次要发送请求之前,需要先重新建立一次连接。

![dubbo-not-keep-connection](/img/dubbo-not-keep-connection.png)
![dubbo-not-keep-connection](/images/dubbo-not-keep-connection.png)

- rmi 协议

Expand Down

0 comments on commit 6b500e0

Please sign in to comment.