Question

In: Computer Science

Answer the Following - Suppose you are designing an application. This application of yours is time...

Answer the Following

- Suppose you are designing an application. This application of yours is time sensitive (i.e., media application). Which protocol would you use UDP or TCP? Why?

- Why do HTTP, FTP, SMTP, and POP3 run on top of TCP rather than on UDP?

- Explain initial transfer of home page and how many RTT required?

- In terms of RTT, how quickly your browser downloads the base page for www.hamburger.com and all the embedded objects under following conditions:

  1. One connection per item, with up to 4 concurrent connections.
  2. A single persistent, non-pipelined connection.
  3. A single pipelined connection.

Solutions

Expert Solution

Hey buddy, i have spent much time to explain these terms in simple form so, if you got something from it, give it a upvote. Thank you.

1. Suppose you are designing an application. This application of yours is time-sensitive (i.e., media application). Which protocol would you use UDP or TCP? Why?

The Internet makes two transport protocols available to its applications that are UDP(User Datagram Protocol) and TCP(Transmission Control Protocol).
So the best protocol for designing application(which is also a time-sensitive) is UPD because
- UDP is the best for time-sensitive communications, including (VoIP) voice over internet protocol, (DNS)domain name system lookup, and video or audio. UDP avoids the overhead of such processing in the protocol stack. Time-sensitive applications often use UDP protocol because dropping packets is preferable to wait for packets delayed due to retransmission, which may not have other options in a real-time system.
- Voice and video traffic are sent using this protocol because they are both time-sensitive and designed to handle a medium level of loss. For example, the voice over IP, which is used by many internet-based telephone services, operates over UDP. This is because a static phone conversation is preferable to one that is crystal clear but mostly delayed for this.

2. Why do HTTP, FTP, SMTP, and POP3 run on top of TCP rather than on UDP?

- TCP is the most sought after transmission protocol due it’s reliability and ubiquity, such that it has now become the underlying protocol for almost all network transmissions. UDP being a connectionless transport protocol, there can be no guarantee of reliable data transmission.
- TCP provides all application data be received in the correct order, also without gaps, but UDP does not do that. So, HTTP, FTP, SMTP, and POP3 run on top of TCP rather than on UDP.
- Its feature of handling small queries from a huge number of clients is useful for servers. Hence this is the reason why TCP is the most commonly used application protocol for HTTP, FTP, SMTP, IMAP, POP3.
- UDP is a fire and forgets protocol, but extremely quick, and useful for computers in a local network. UDP is a connection-less transport protocol, with minimum overhead.

3. Explain the initial transfer of the home page and how many RTT required?

- A home page is a webpage that serves as the starting point of the website. It is the default webpage that loads when you visit a web address for the first time or when you load
- So what is Round-trip time: Round-trip time (RTT) is the period in milliseconds (ms) it takes for a network request to go from a starting point to a destination and back again to the starting point.
the RTT or Round-trip time required for the home page is that 2RTT is the initial required for connection: one for TCP connection and one for HTML base file.
Formula : Total time=2RTT + transmit time

4. In terms of RTT, how quickly your browser downloads the base page for www.hamburger.com and all the embedded objects under the following conditions:

a. One connection per item, with up to 4 concurrent connections.
- 7 RTT or 8 RTT Because
(for this 3 RTT required to fetch the first HTML page and 2 RTT to fetch each of the embedded images and lastly 3 RTT to fetch other images)

b. A single persistent, non-pipelined connection.
- 10 RTT Because
(3 RTTs to fetch the first HTML page. with persistent and non-pipelined connection, the browser can only fetch one item at a time and with all of the embedded images so 1+1+1+1+1+2 = 7 RTT + 3 RTT = 10 RTT)

c. A single pipelined connection.
- 7 RTT Because
( for single pipelined connection 3 RTT to fetch the first HTML page. and 4 RTT for embedded images to transfer, So 4 RTT + 3RTT = 7 RTT).


Related Solutions

Create one application question at a time related to the following and ask for the answer....
Create one application question at a time related to the following and ask for the answer. 1. Taylor series 2. Complex Root of Equation-Newton-Rabson Method and/or Muller Method Mixed 3. Solution of a system of linear equations-Must include LU decomposition 4. Eigenvalues and Eigenvectors 5. Curved Connection-Least Squares Regression Method
You are designing different liposomes for drug delivery through the blood stream and for skin application...
You are designing different liposomes for drug delivery through the blood stream and for skin application as a topical lotion. Describe your selection of lipids for each application that would ensure the liposomes remain in a semi-fluid state between liquid-ordered and liquid-disordered states
You are designing different liposomes for drug delivery through the blood stream and for skin application...
You are designing different liposomes for drug delivery through the blood stream and for skin application as a topical lotion. Describe your selection of lipids for each application that would ensure that liposomes remain in a semi-fluid state between liquid-ordered and liquid-disordered states.
Answer a, b and c a) You are in the business of designing and selling websites...
Answer a, b and c a) You are in the business of designing and selling websites .You currently charge $500 a website design and sell 5 websites a month. You are thinking of reducing the price to $400 in order to sell more websites. You go around asking people and find you can sell 3 more website. How much more revenue do you gain from the increased sales? How much revenue do you lose from customers that used to buy...
Please answer the following statement with an essay answer! Thank you!! APPLICATION 3: Macroeconomic Policy WOULD...
Please answer the following statement with an essay answer! Thank you!! APPLICATION 3: Macroeconomic Policy WOULD A POLICY RULE HAVE PREVENTED THE HOUSING BOOM?
Answer the following application exercise on organization and data visualization. You can use Excel. If you...
Answer the following application exercise on organization and data visualization. You can use Excel. If you use the calculator and perform the exercise manually, obtain a picture of the process performed using the cutout and pasting its result into a Word file. A sample of 30 employees who investigate cases of possible money laundering, answered a survey on the average time in the days analyzed, presented results and recommendations. Below, your answers are detailed. 5 22 20 16 13 6...
Time Value of Money Concept The following situations involve the application of the time value of...
Time Value of Money Concept The following situations involve the application of the time value of money concept. Use the full factor when calculating your results. Use the appropriate present or future value table: FV of $1, PV of $1, FV of Annuity of $1 and PV of Annuity of $1 1. Janelle Carter deposited $9,610 in the bank on January 1, 2000, at an interest rate of 15% compounded annually. How much has accumulated in the account by January...
Time Value of Money Concept The following situations involve the application of the time value of...
Time Value of Money Concept The following situations involve the application of the time value of money concept. Use the full factor when calculating your results. Use the appropriate present or future value table: FV of $1, PV of $1, FV of Annuity of $1 and PV of Annuity of $1 1. Janelle Carter deposited $9,510 in the bank on January 1, 2000, at an interest rate of 10% compounded annually. How much has accumulated in the account by January...
Time Value of Money Concept The following situations involve the application of the time value of...
Time Value of Money Concept The following situations involve the application of the time value of money concept. Use the full factor when calculating your results. Use the appropriate present or future value table: FV of $1, PV of $1, FV of Annuity of $1 and PV of Annuity of $1 1. Janelle Carter deposited $9,790 in the bank on January 1, 2000, at an interest rate of 12% compounded annually. How much has accumulated in the account by January...
Suppose that you are working as part of a team designing a network for XYZ high...
Suppose that you are working as part of a team designing a network for XYZ high school. Consider that the school has six departments, Admin, Academic, Human Resource (HR), Finance, IT support and Sports. 1. Analyse the project hardware requirements along with the number of devices and cost. 2. Justify the approach you would be taking to design the network for the school. 3. Using the network simulator (such as packet tracer) design the network. 4. Illustrate the network configuration...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT