Skip to content

Commit

Permalink
Merge branch 'master' of github.com:doocs/advanced-java
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Jan 10, 2019
2 parents 1a6c163 + 6b500e0 commit d4fae2f
Show file tree
Hide file tree
Showing 3 changed files 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
Binary file modified docs/high-availability/images/220px-Internet_dog.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/220px-Internet_dog.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d4fae2f

Please sign in to comment.