当前位置:网站首页>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 !
边栏推荐
- Matlab | matlab terrain generation: rectangular iteration method, inverse Fourier transform method, fractal Berlin noise method
- Rational and perceptual activities and required skills in programmers' work
- Basic operations of MySQL database (2) --- Based on data table
- Network equipment hard core technology insider firewall and security gateway (V) security double repair method
- 英特尔发布开源AI参考套件
- mysql分表之后怎么平滑上线?
- Interesting Huffman tree
- A design scheme of Wal
- 程序员成长第三十篇:你真的懂反馈吗?
- 点分治解析
猜你喜欢

Code review tool

Basic operations of MySQL database (2) --- Based on data table

Fastjson历史漏洞复现

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

startUMl
![[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development](/img/17/15c759aadafc335028d37380903ee7.jpg)
[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
![[CruiseControl]Build Result JSP](/img/80/11c2b539c217ecd6ba55668d3e71e9.png)
[CruiseControl]Build Result JSP
![Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]](/img/6c/d4a45981a7fc87f6a82a91017f8ce8.png)
Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]

OpenVINO整合TensorFlow实现推理加速

一文读懂CMake
随机推荐
Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]
How to realize fast recognition of oversized images
[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
公司7月来了个软件测试工程师,一副毛头小子的样儿,哪想到是新一代卷王...
The program design questions of the 11th national competition of Bluebridge cup single chip microcomputer
Intel releases open source AI Reference Suite
Matlab | those matlab tips you have to know (I)
҈ straight ҈ Broadcast ҈ Pre ҈ Report ҈ |҈ In hot summer, let's cross the high temperature and "bake" with nono!
mysql数据库的基本操作(一)-——基于数据库
Camera and lidar calibration: gazebo simulation livox_ camera_ lidar_ Calibration ---- external parameter calibration calculation and result verification
Logic of automatic reasoning 07 - predicate calculus
相应通道无电压但ADC的值却在大幅变化且不等于0的可能原因
[leetcode] 547. Number of provinces (medium)
mysql数据库的基本操作(三)-——基于字段
Invest 8billion! Nanjing Huatian sealed test phase I project is about to be put into production!
Promoting cloud network integration and building a digital economy: Intel unveiled the 5th Digital China Construction Summit - cloud ecosystem Conference
网络设备硬核技术内幕 防火墙与安全网关篇 (十二) 零接触办公的奥秘 下
LeetCode_位运算_中等_137.只出现一次的数字 II
Redis learning and understanding of three special data types
Basic elementary function