当前位置:网站首页>Network planning common interview knowledge (I)
Network planning common interview knowledge (I)
2022-06-13 06:43:00 【Night ask】
From today on, I will probably begin to prepare for the study of spring moves , Will make the marking sequence , To record some key knowledge
TCP Three handshakes 、 Four waves
1. Three handshakes

2. Four waves


Why is there TIME_WAIT state
- Make sure there is enough time for the other party to receive ACK package
- Avoid confusing old and new connections
Why do you need four handshakes to disconnect
Because full duplex , Both sender and receiver need FIN Message and ACK message

There are a lot of servers CLOSE_WAIT The reason for the State
The other side closes socket Connect , We are busy reading or writing , Not closing the connection in time
- Check code , Especially the code to release resources
- Check the configuration , In particular, thread configuration for processing requests
3.TCP And UDP The difference between
- Connection oriented vs There is no connection
- reliability vs Unreliability
- Orderliness vs Disorder
- Slow speed vs Fast
- Magnitude 20 byte vs8zijie
4. tcp The sliding window
RTT and RTO
- RTT: Send a packet to the server , The server returns a ACK, The client receives the corresponding ACK, The time it takes
- RTO: Retransmission interval .TCP After sending a data , Will start a retransmission timer , If you receive a reply, it will reset RTO, Otherwise, the data will be retransmitted
TCP Use sliding window for flow control and out of order rearrangement
- Guarantee TCP The reliability of the
- Guarantee TCP Flow control characteristics of
5. Congestion control
Full start , Congestion avoidance , Fast retransmission , Fast recovery
6.HTTP
Hypertext transfer protocol HTTP It's an application layer protocol
- Support customers / Server mode ( Client sends request to server , Server returns response )
- Simple and fast
- flexible
- There is no connection
- No state

request . Response steps
- The client connects to web The server
- send out HTTP request
- The server accepts the request and returns HTTP Respond to
- Release the connection TCP Connect
- Client browser parsing HTML Content
7.Cookie and Session
Cookie
- Is a special message sent by the server to the client , In the form of text stored in the client
- When the client requests again , Will be able to Cookie Postback
- After the server receives , Can parse Cookie Generate content corresponding to the client
Session
- Server side mechanism , Information saved on the server
- Resolve client requests and operate session id, Save status information as needed
边栏推荐
- Notepad++ settings delete current line shortcut
- 上位机开发(固件下载软件之详细设计)
- SSM框架整合--->简单后台管理
- MFS details (vii) - - MFS client and Web Monitoring installation configuration
- JNI exception handling
- Select all select none JS code implementation
- Logcat -b events and eventlogtags print the location correspondence of the events log in the code
- 上位机开发(固件下载软件之编码调试)
- Analysis of 43 cases of MATLAB neural network: Chapter 10 classification of discrete Hopfield Neural Network -- evaluation of scientific research ability of colleges and Universities
- Differences among concurrent, parallel, serial, synchronous and asynchronous
猜你喜欢

In kotlin?,!,?:,:, - & gt;、== Brief description of symbols

16、 IO stream (II)
![[virtual machine] VMware virtual machine occupies too much space. Solution](/img/3d/bca30c6e6f7fa8400a077ed0a29e16.png)
[virtual machine] VMware virtual machine occupies too much space. Solution

Notes on wechat applet development

ML之FE:Vintage曲线/Vintage分析的简介、计算逻辑、案例应用之详细攻略

Machine learning notes - supervised learning memo list

The causes of font and style enlargement when the applet is horizontal have been solved

JetPack - - -WorkManger

Gold jewelry enterprise operation mode, beautiful tiantians business solution

上位机开发(固件下载软件之架构设计)
随机推荐
Ijkplayer code walk through read_ AV in thread thread_ read_ Detailed explanation of frame() data stream reading process
Ffmpeg compressed video.
Construction and verification of Alibaba cloud server webrtc system
Omron Ping replaces the large domestic product jy-v640 semiconductor wafer box reader
Ijkplayer code walkthrough player network video data reading process details
Hidden and wx:if
Vue3 route cache component status and set transition animation
[kernel] two methods of driver compilation: compiling into modules and compiling into the kernel (using miscellaneous device driver templates)
Jinglianwen Technology: current situation and solutions of data annotation industry
[SketchUp 2021] CAD file import and modeling in the sketch master (establish elevation model in the sketch master by using CAD drawings), and the sketch master exports 2D, 3D and elevation effects of
ADB shell CMD overlay debugging command facilitates viewing system framework character resource values
Detailed explanation of the player startup process of ijkplayer code walk through
Vector control of Brushless DC motor (4): sensorless control based on sliding mode observer
Logcat -b events and eventlogtags print the location correspondence of the events log in the code
上位机开发(固件下载软件之软件测试)
Cocos released the oppo game prompt "subcontracting failed"
智能金融再升级,景联文科技提供数据采集标注服务
Kotlin basic objects, classes and interfaces
Analyzing server problems using jvisualvm
Kotlin data flow - flow