Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Seven and four floors

Shulou Source: shulou.com Published: 2022-06-03 04:39:16 10月02日 Update

TCP/IP protocol stack

OSI seven-layer model

The corresponding relationship between the seventh layer and the fourth layer

Four-tier load balancing

The so-called "four-layer load balancing" refers to the load balancing of back-end servers based on the characteristics of TCP/IP protocol, such as IP address and port number, which works on the transport layer.

Seven-tier load balancing

The so-called "layer 7 load balancer" means that it works on the application layer, sees the HTTP protocol, parses the URI, hostname, resource type and other data in the HTTP message, and then forwards it to the back-end server with appropriate policies.

Data Transmission of TCP/IP Protocol Stack

Can be used to send express delivery, receive express delivery to compare.

Send express delivery, pack from top to bottom, and add tcp header, ip header and Mac header in turn

Receive express delivery, unpack from the bottom up, and remove mac header, ip header and TCP header in turn.

Note:

The four and seven layers mentioned are all for the OSI model.

Tags: Balance express that is data server model transmission work service appropriate host slogan address application layer said message data transmission feature policy type Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux vpn macOS Shulou Technology Shulou Tech Info