hw2

2023 computer-networking HW2.pdf

1.

use UDP because it is faster then TCP

2.

When a user requests an object, the cache checks if it has a copy of the object. If it does, the cache returns the object to the user without having to retrieve it from the original server

3.

The applications of HTTP, SMTP, and POP3 require more reliability than throughput, so they use TCP.

4.

total time=
This is because each DNS server visited create an RTT, and once the IP address is obtained, an additional RTT is incurred to establish a connection with the server containing the object. The total time elapsed is equal to the sum of all these RTTs

5.a

5.b

5.c