mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-29 23:23:43 +00:00
Update 集群.md
重新绘制会话管理的配图。
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
+3
-3
@@ -191,7 +191,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
||||
- 当服务器宕机时,将丢失该服务器上的所有 Session;
|
||||
- 服务器不再是无状态的,不利于伸缩。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/1623f524-b011-40c8-b83f-eab38d538f76.png" width="400px"/> </div><br>
|
||||
<div align="center"> <img src="pics/session-sticky.png" width="760px"/> </div><br>
|
||||
|
||||
### Session Replication
|
||||
|
||||
@@ -202,7 +202,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
||||
- 占用过多内存;
|
||||
- 同步过程占用网络带宽以及服务器处理器时间,因此只适合规模很小的集群。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/40c6570d-c1d7-4c38-843e-ba991b2328c2.png" width="400px"/> </div><br>
|
||||
<div align="center"> <img src="pics/session-replication.png" width="760px"/> </div><br>
|
||||
|
||||
### Session Server
|
||||
|
||||
@@ -219,7 +219,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
||||
|
||||
这是目前最常用的方式。
|
||||
|
||||
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/fdc45a09-f838-4348-8959-d2c793727788.png" width="600px"/> </div><br>
|
||||
<div align="center"> <img src="pics/session-server.png" width="760px"/> </div><br>
|
||||
|
||||
### 客户端保存
|
||||
|
||||
|
||||
Reference in New Issue
Block a user