当前位置:网站首页>Network device hard core technology insider firewall and security gateway (10)
Network device hard core technology insider firewall and security gateway (10)
2022-07-28 00:49:00 【User 8289326】
Last time when it comes to , Linghuchong developed a new LB equipment , Can install HTTPS certificate , Let users think LB The device itself is real HTTPS The server .
But we actually secretly left a problem :
LB Equipment and vm Between , Do you still need to encrypt ?
Pictured , stay LB End on device HTTPS after , because LB And VM Both are inside the data center , There is no risk of communication being eavesdropped or tampered , It doesn't need to HTTPS encryption ,LB Just go through HTTP Function therefore , In this case ,LB The equipment HTTPS Termination function , Also known as HTTPS Uninstall function .
Specially , because LB The equipment is made by Special materials Made of special processor , therefore , about HTTPS Encryption and decryption work , It is implemented by dedicated hardware .
And in the absence of LB In the case of equipment , Who encrypts and decrypts ? Of course, the server CPU Through software .
Obvious , Special LB In the case of equipment , It can not only make each VM The load of tends to be balanced , It can also reduce the cost of each server CPU The computational burden of . therefore , Load balancing devices are also called application delivery engines (Application Delivery Engine).
However , Reality is not as beautiful as imagined .
When servers enter the 10 Gigabit era from the Gigabit era , General LB equipment , Even with hardware SSL Encryption and decryption function , Its throughput is also insurmountable 10Gbps The gap …
therefore , Engineers invented another method ——LB Triangular deployment .
LB The principle of triangle deployment is shown in the figure below :
In the figure , Every VM Of IP, and LB Upper VIP Is the same IP Address . for fear of IP Address conflict , all VM All keep ARP silent , No response ARP request ( Or configuration FW Intranet interface static ARP, take VIP Of MAC Point to LB The equipment MAC).
come from FW Of HTTP Request in LB On receipt ,LB Modify the purpose of the packet according to the load balancing policy MAC, The switch will according to the purpose MAC Send the data packet to the corresponding VM.
and VM received HTTP After the request , It's OK not to pass LB, Return the data directly to the network exit .
Small traffic requests such as video playback , The field of large traffic response , This networking method is very suitable for .
Careful readers find , In this way, there is no way to unload on load balancing https Of —— Of course , Nor can recognition be achieved https Users inside . Fortunately ,http Long connections can solve this problem , With http After the long connection mechanism , Basically, we can think , Every https Of TCP The connection represents a user . In the case of large-scale public cloud , Based on scalability considerations , Load balancing is generally distributed LB Handle , Such as HA-Proxy and Nginx etc. , Instead of dedicated hardware devices .
The introduction of load balancing is over .
The next issue will bring you a hot topic in the near future —— Telecommuting , Please look at the next breakdown !
边栏推荐
- Jerry's Bluetooth can only link back to the last device [article]
- 网络设备硬核技术内幕 防火墙与安全网关篇 (八) 虚拟化神器 (中)
- 【Leetcode】547.省份数量(中等)
- Matlab | those matlab tips you have to know (3)
- Network equipment hard core technology insider firewall and security gateway (11) secrets of zero contact office
- 图片提取文字很神奇?试试三步实现OCR!
- Jerry's PWM setting and PWM IO selection [chapter]
- 有趣的哈夫曼树
- 程序员成长第三十篇:你真的懂反馈吗?
- map集合
猜你喜欢

mysql分表之后怎么平滑上线?
![[BuildRelease Management]Parabuild](/img/80/11c2b539c217ecd6ba55668d3e71e9.png)
[BuildRelease Management]Parabuild

英特尔发布开源AI参考套件

【Leetcode】547.省份数量(中等)

Build Release Blogs

红队大杀器 Behinder_v4.0(冰蝎4.0)

服务器中毒了——菜是原罪
![[must read for new products] valuation analysis of Meishi technology, distributed audio-visual products and Solutions](/img/40/bf3e992e363dbd6600805775058310.jpg)
[must read for new products] valuation analysis of Meishi technology, distributed audio-visual products and Solutions
![[bre] software build release automation](/img/c6/daead474a64a9a3c86dd140c097be0.jpg)
[bre] software build release automation

Data visualization - White Snake 2: black snake robbery (3)
随机推荐
How does JMeter solve the problem of garbled code?
为华为打造无美系设备的产线,台积电三星能做到吗?
网络设备硬核技术内幕 防火墙与安全网关篇 (十二) 零接触办公的奥秘 下
Redis-事务与乐观锁
服务器中毒了——菜是原罪
The latest notice of the Chinese Academy of Sciences: abandon the impact factor! The journal zoning table will be published for the "Journal surpassing index"
Yangchuanhui, CTO of oceanbase: some HTAP databases are not real htaps
The influence of head zeroing and tail zeroing on FFT output
公司7月来了个软件测试工程师,一副毛头小子的样儿,哪想到是新一代卷王...
OpenVINO整合TensorFlow实现推理加速
Jerry's PWM setting and PWM IO selection [chapter]
Openvino integrates tensorflow to accelerate reasoning
Leetcode 415. string addition and 43. string multiplication
Matlab | matlab terrain generation: rectangular iteration method, inverse Fourier transform method, fractal Berlin noise method
[must read for new products] valuation analysis of Meishi technology, distributed audio-visual products and Solutions
Impact of privilege changes on existing connections
Camera and lidar calibration: gazebo simulation livox_ camera_ lidar_ Calibration ---- external parameter calibration calculation and result verification
startUMl
数据可视化-《白蛇2:青蛇劫起》(3)
leetcode:1997. 访问完所有房间的第一天【跳跃dp】