1. High concurrency, load balancing, high availability
  • Don’t use technology for technology’s sake.
  • [Fixed line users: broadband at home, broadband at work]
  • [High concurrent channel traffic quality per channel conversion rate, purchasing power]

Based on 4 layers based on 7 layers

Application layer HTTP SSH

CD/proc / $$/ fd $$current interpreter process number 8 < > / PWD exec dev/tcp/www.baidu.com/80 ll echo - e 'GET/HTTP / 1.0 \ n' > 8 cat & 0 < & 8 exec 8 < & - The first step is to establish the connection, the second step is to transfer the data (HTTP protocol: standard) and finally to show you an application layer protocolCopy the code

Transmission control layer: TCP: connection-oriented, reliable; udp

Three-way handshake Three-way handshake > Data Transfer > four-way breakup becomes a minimum granularity undivisible netstat -natpCopy the code

Service Mesh is known as the next generation network layer for microservices

Cat /etc/sysconfig/network-scripts/ifcfg-eth0 Subnet mask and IP address Network number Gateway domain name resolution Domain name return server IP address route-n Route decision bit-based and next hop mechanism As long as the data within one step is savedCopy the code

The link layer

MAC address ARP -A ARP is used to map IP addresses to nic hardware. On the same LAN arp: Start target MAC address: FFFFFFF The switch broadcasts the target MAC address FFFFFFFCopy the code
TCP/ IP: Based on the next hop mechanism IP is between endpoints MAC address is between nodes Layer 4 load balancer special fast packet forwarding level does not shake hands with clients back-end server is mirrored NAT network address translation routerCopy the code

NAT