Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

TCP uses a sophisticated feedback scheme to respond to congestion in the network

ID: 3856868 • Letter: T

Question

TCP uses a sophisticated feedback scheme to respond to congestion in the network, and UDP has no feedback at all -- for congestion or anything else. Imagine that you have a pair of identical applications, on two different machines, and that each application generates data at a rate of 1 Mbps. The ONLY difference is that the transport layer used by each is different -- one uses TCP and the other uses UDP. The machines where the identical applications are running are each connected to their own 10 Mbps ethernet port on a WAN router, which has a 1.544 Mbps WAN link to the Internet (where the other endpoints of the communication are located.).

Since 1Mbps + 1Mbps is greater than the capacity of a 1.544 Mbps WAN link, what do you expect to happen at the router and what will be the behavior as seen by each of the two applications? If there is a difference in performance and behavior, what is the underlying reason? What is the approximate data rate for each application when both are sending data? Explain whether both, neither, or only one application will succeed in sending all of its data without errors to its intended recipient?

Explanation / Answer

Since 1Mbps + 1Mbps is greater than the capacity of a 1.544 Mbps WAN link, what do you expect to happen at the router and what will be the behavior as seen by each of the two applications?

Answer :

The TCP application will execute better than UDP application.

The TCP application will execute better than UDP application because TCP will shield the data packets and hold the whole network segment to use of the available bandwidth efficiently.

Where as UDP puts the data packet through the network causing a congestion in the network having lots of small packets transmitting at the same time , though UDP is faster than TCP due to its fictional acknowledgement (ACK) which allows a continuous packet streaming, but in case of TCP the acknowledgement is generated by using packet window size and round-trip time (RTT).

If there is a difference in performance and behaviour, what is the underlying reason?

Answer:

TCP & UDP applications are going on simultaneously overreach the wavelengths in a computer network on its thin pipe which takes less time to accomplish for transmitting data packet through the network channel according to priority and congestion free .

Therefore, using TCP application will be accomplished to address the application with the transmission rate and an error that can be rectified to retransmit the data packet for reaching the other endpoint.

UDP will make a response to the congestion network and if interrupts occur due to errors, handle it by dropping packets, here the source will not resend the dropped packets at that very moment and start to retransmit dropped packet after a certain period of time .

What is the approximate data rate for each application when both are sending data? Explain whether both, neither, or only one application will succeed in sending all of its data without errors to its intended recipient?

Answer:

TCP can succeed in sending this data packets without errors to the intended recipient because TCP can detect , correct and retransmit the data packet to the recipient as it can generate ACK when interruption is occurred and act according to that automatically from that point of time.

So TCP applications are useful for its high throughput due to higher data rate.

Where as UDP can not detect and correct errors before reaching to the recipient.