auto commit
This commit is contained in:
parent
7a049922d8
commit
d90c27535c
|
@ -94,7 +94,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
|||
|
||||
该负载均衡转发的缺点比较明显,实际场景中很少使用它。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/c2eae474-b43f-41ba-a3d1-b8a6a7373e54_200.png" width="500px"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/02a1fbfd-7a9d-4114-95df-ca2445587a1f.jpg" width="500px"/> </div><br>
|
||||
|
||||
### 2. DNS 域名解析
|
||||
|
||||
|
@ -110,7 +110,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
|||
|
||||
大型网站基本使用了 DNS 做为第一级负载均衡手段,然后在内部使用其它方式做第二级负载均衡。也就是说,域名解析的结果为内部的负载均衡服务器 IP 地址。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/5effb189-d618-418b-bdda-06e6f6080c15_200.png" width="500px"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/d2c072cc-8b17-480c-813e-18cdb3b4b51f.jpg" width="500px"/> </div><br>
|
||||
|
||||
### 3. 反向代理服务器
|
||||
|
||||
|
@ -167,7 +167,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
|||
|
||||
- 当服务器宕机时,将丢失该服务器上的所有 Session。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/6aee49d3-f6c6-4d14-a81a-080c290de875.jpg" width="400px"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/1623f524-b011-40c8-b83f-eab38d538f76.png" width="400px"/> </div><br>
|
||||
|
||||
## Session Replication
|
||||
|
||||
|
@ -178,7 +178,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
|||
- 占用过多内存;
|
||||
- 同步过程占用网络带宽以及服务器处理器时间。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/7f403a7a-5228-42c0-af1c-b21635c77016.jpg" width="400px"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/40c6570d-c1d7-4c38-843e-ba991b2328c2.png" width="400px"/> </div><br>
|
||||
|
||||
## Session Server
|
||||
|
||||
|
@ -192,7 +192,7 @@ HTTP 重定向负载均衡服务器使用某种负载均衡算法计算得到服
|
|||
|
||||
- 需要去实现存取 Session 的代码。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/8a182663-af78-4618-b893-96c63324a250_200.png" width="600px"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/fdc45a09-f838-4348-8959-d2c793727788.png" width="600px"/> </div><br>
|
||||
|
||||
参考:
|
||||
|
||||
|
|
BIN
docs/pics/02a1fbfd-7a9d-4114-95df-ca2445587a1f.jpg
Normal file
BIN
docs/pics/02a1fbfd-7a9d-4114-95df-ca2445587a1f.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
docs/pics/1623f524-b011-40c8-b83f-eab38d538f76.png
Normal file
BIN
docs/pics/1623f524-b011-40c8-b83f-eab38d538f76.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
BIN
docs/pics/40c6570d-c1d7-4c38-843e-ba991b2328c2.png
Normal file
BIN
docs/pics/40c6570d-c1d7-4c38-843e-ba991b2328c2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
BIN
docs/pics/d2c072cc-8b17-480c-813e-18cdb3b4b51f.jpg
Normal file
BIN
docs/pics/d2c072cc-8b17-480c-813e-18cdb3b4b51f.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
docs/pics/fdc45a09-f838-4348-8959-d2c793727788.png
Normal file
BIN
docs/pics/fdc45a09-f838-4348-8959-d2c793727788.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue
Block a user