week 3 - More transport Layer Flashcards

1
Q

Acknowledgement message does not mean you should free buffer

BUFFER ONLY FREED/ PROCESSED WHEN DATA PASSED TO APPLICATION LAYER

A

Really important

ACK (message) != freeing buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Flow Control

A

“Flow control is a specific end-to-end mechanism between sender and receiver where the receiver advertises its available buffer space (using rwnd) to prevent the sender from transmitting more data than the receiver can process. This mechanism is implemented through the sliding window protocol.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is congestion control

A

“Congestion control is a sender-side mechanism in TCP that prevents network congestion by dynamically adjusting the transmission rate based on network conditions. It uses the congestion window (cwnd) and various algorithms to detect and respond to network congestion, ensuring optimal network utilization without overwhelming network resources.”
Congestion Window (cwnd) Mechanism:
“The congestion window is a dynamic, sender-maintained limit on the amount of unacknowledged data that can be in transit. It starts small (typically 1 MSS) and adjusts using algorithms:

. slow start
.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does persist time help(take example where window size is 0 )

A

When Window Size = 0:

.Sender stops sending (receiver buffer full)
.Persist timer activates to prevent deadlock
.Timer expires → Small packet called “window probe” is sent
.Receiver must respond with current window size
.If still 0: Timer doubles, repeat probe (5s → 10s → 20s → max 60s)
.If non-zero: Normal transmission resumes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

throughput

A

rate at which data is processed

Fast throughput -> data processed quickly and buffer empties faster so data can be sent quicker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

bandwidth

A

capacity at which a network can transmit data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does TCP Congestion control work?
basic definiton

A

Increase the sending rate until packet loss is observed , at which point sending rate is decreased

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is TCP Congestion control method called AIMD

A

AIMD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain TCP Congestion control now in detail

A

Additive Increase:
Increase sending rate by 1 MSS (Maximum Segment Size) per RTT (Round trip time) until a loss is detected

AT WHICH POINT

|
Multiplacitve decrease occurs:
Sending rate is cut in half at each loss event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Multiplacitve decrease in detail

A

.When 3 duplicate acknowledements are received sending rate is cut in half

. When timeout occurs sending rate cut to one MSS ( severe)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

RTT

A

Time for:
segment to go from segment to receiver AND acknowledgement from receiver to sender

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

congestion window

A

sender side flow control that changes based on network conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the web

A

A network of resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Are all resources network retrievable? Explain your answer

A

No not all resoures are network tetrievalbe

humans - can represent as a resource but cant download a human

same with company

abstract things - friendsship relationships , mathematical operations etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

URI , URL , URN

A

URI - Parent ( can be URL or URN or other type

URI (parent category)
├── URL (tells how to access/where it is)
└── URN (just names/identifies something)

URL - (Uniform Resource Locator):
- shows how to access and where to find it
- START WITH HTTP
- https://www.google.com
- ftp://ftp.example.com/downloads/file.txt
- http://localhost:8080/index.html

URN- REMAINS PERMANENET
urn:isbn:0-486-27557-4

This ISBN will always identify the same book

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A