mirror of
https://github.com/ByteByteGoHq/system-design-101.git
synced 2026-04-01 16:57:23 -04:00
fixed order of diagram and text, text was pointing to diagram "below" when diagram was above (#69)
fixed order of diagram and text, text was pointing to diagram "below", when diagram was above
This commit is contained in:
@@ -383,12 +383,12 @@ Note that API design is not just URL path design. Most of the time, we need to c
|
||||
|
||||
How is data sent over the network? Why do we need so many layers in the OSI model?
|
||||
|
||||
The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network.
|
||||
|
||||
<p>
|
||||
<img src="images/osi model.jpeg" />
|
||||
</p>
|
||||
|
||||
The diagram below shows how data is encapsulated and de-encapsulated when transmitting over the network.
|
||||
|
||||
Step 1: When Device A sends data to Device B over the network via the HTTP protocol, it is first added an HTTP header at the application layer.
|
||||
|
||||
Step 2: Then a TCP or a UDP header is added to the data. It is encapsulated into TCP segments at the transport layer. The header contains the source port, destination port, and sequence number.
|
||||
|
||||
Reference in New Issue
Block a user