Tag:application layer
-
Time:2020-12-11
TCP / IP protocol stack is mainly divided into four layers: application layer, transport layer, network layer and data link layer,Each layer has a corresponding protocol, as shown in the figure below Concept understanding: IPNetwork layer protocol TCP and UDP: transport layer protocol; (truck) TCP/IPTCP / IP model is simplified on the basis of OSI […]
-
Time:2020-12-10
Most people will be asked by the interviewer during the interview, “what’s the process going through from inputting a URL in the browser to displaying the content of the page?” Well, we should answer all kinds of questions, each with his own merits. So what did this process go through to bring back the content […]
-
Time:2020-11-30
Micro course | lesson 2: introduction to docker installation methodhttps://v.youku.com/v_show/id… In the last issue, we introduced the basic overview of dble. Now we will go to the main topic. The main topic is basically divided into these four parts. The structure of the course catalogue 1. Installation demonstration We’ll introduce two ways to get started […]
-
Time:2020-11-29
Transport layer Perspective There are two major protocols in the transport layer: TCP and UDP. TCP is a reliable streaming protocol and UDP is an unreliable datagram protocol. However, the reliability here is limited to the end-to-end communication. When using TCP protocol, the data sent by the sender when calling the write function through the […]
-
Time:2020-11-26
1. Why does socket provide an interface between the application layer and the transport layer and not between other layers? From the analogy operating system and the details of their respective concerns 2. TCP handshake and wave and data transmission process? 3. Why does the active shutdown party stay in time when TCP waves its […]
-
Time:2020-10-13
The latest optimization reduces the number ofrecv_bufferreachphp zvalMemory forcopyFromrecv_bufferBecomePHPLayeredstringType variable, equivalent to directly from theSocketRead in receive bufferPHPLayer. GitHub PR:https://github.com/swoole/swoole-src/pull/3423 Swstring structure typedef struct _swString { size_t length; size_t size; off_t offset; char *str; const swAllocator *allocator; } swString; In design, the functions of these fields are as follows: size: memory capacity lengthappendDuring the write […]
-
Time:2020-9-15
[guide] this paper combs the overall view of I2C subsystem by reading the kernel code. In the development of I2C device driver, there is often a lack of understanding of the system as a whole, resulting in no clear idea. Therefore, analyzing the design ideas of I2C system from the high level will help to […]
-
Time:2020-9-5
1. Client: A web browser that sends a request for server resources. 2. Web uses HTTP protocol as the standard, and web is based on HTTP protocol to communicate 3. The difference between HTTP and HTTPS? definition HTTP transmits information in plaintext, which is easy to be intercepted and deciphered, so it is not suitable […]
-
Time:2020-8-3
This article mainly talks about the process of Tomcat “rude stop” and several key information in the solution. The detailed solution steps will be in the following article. Overall structure Let’s first take a look at the overall architecture of Tomcat and get a general understanding of the relationship between Tomcat componentsPhoto source: four pictures […]
-
Time:2020-7-24
Are you hungry with your colleagues today. Share to wechat group, and then everyone can click. Did I accidentally find that the menu here is refreshed in real time. I realize that this is implemented by websocket. I didn’t know in detail before, and I didn’t know the relationship between it and HTTPS, HTTP and […]
-
Time:2020-5-18
After the birth of the computer, the powerful computing function makes people think about whether the computer can communicate with each other. However, people have found that the communication process is very complex and requires a variety of protocols to maintain the stability of the communication process. Therefore, the OSI seven layer model was born, […]
-
Time:2020-5-6
Original addressBlog accumulation address The birth and development of HTTP HTTP was born for knowledge sharing. The original design idea was to let researchers from far away share knowledge. With the help of hypertext formed by mutual association between multiple documents, HTTP can be linked into a world wide web (World Wide Web) that can […]