TCP Introduction Flashcards
When working with application protocols like HTTP, SMTP, or DNS, what is the recommended practice and why?
Always use libraries to avoid reinventing the wheel and ensure reliability
What is the most sensible unit for measuring link capacity?
Bits per second (bps)
What is a baud, and where is it commonly used?
A baud is a unit that refers to symbols per second, commonly used in electrical engineering and older communication systems like dial-up modems.
What are the two primary components of latency in a network?
Propagation delay and transmission delay.
What is propagation delay, and what does it depend on?
Propagation delay is the time taken for a signal to travel across a physical link. It depends on the distance and the propagation speed.
What is transmission delay, and what does it depend on?
Transmission delay is the time required to push the entire packet onto the link. It depends on the packet size (in bits) and the transmission rate.
How do you calculate propagation delay?
Propagation delay = Distance / Propagation speed
How do you calculate transmission delay?
Transmission delay = Packet size (in bits) / Transmission rate.
Why does transmission delay vary with packet size?
Because larger packets take more time to transmit at a given transmission rate.
Why is propagation delay constant for a link?
Because it depends only on the fixed distance and propagation speed of the medium. (Speed of light is constant)
What is the difference between “store-and-forward” and “cut-through” systems?
Store-and-forward systems buffer packets until the checksum is read at each hop, while cut-through systems process packets as soon as they receive the frame, without waiting for the entire packet (and it’s checksum).
Why is “store-and-forward” more common in modern networks?
It ensures error-checking through checksum verification at every hop, which is critical for reliable communication.
What factors contribute to latency at each hop in a network?
Packet clocking time and propagation delay
Why are checksums verified at every hop?
To detect and correct errors in data transmission
Why do network projects often fail, according to the introductory module slides?
Due to underestimating latency and its impact on performance
What dominates latency in short-distance links?
Bandwidth limitations.
What dominates latency in long-distance links?
Propagation delay.
What is the “elephants problem” in networking?
Long Fat Networks face performance challenges when bandwidth scales to tens of gigabits or terabits per second, requiring efficient utilisation.
Why is “filling” a network link important?
To maximise the utilisation of the available bandwidth for optimal performance.
What is a Long Fat Network (LFN) and its main challenge?
An LFN is a network with high bandwidth and long distances. The challenge is efficiently utilising the high bandwidth despite the high latency caused by long distances.
What is the throughput in a network determined by?
The throughput is determined by the slowest link in the network path
What happens to the excess data sent if the sender transmits more than the capacity of the slowest link?
The excess data accumulates in buffers (e.g., at the router), leading to potential buffer overflow and packet drops if the buffers are full.
Why don’t core transmission devices have large buffers?
Core transmission devices lack large (deep) buffers because fast, error-checked, double-ported RAM is expensive, and designing core switches with large buffers is challenging.
How do edge devices differ in terms of buffering compared to core devices?
Edge devices can have larger (deeper) buffers, but these are still finite and cannot handle unlimited data overflow.