Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 (30 points): Let's suppose a web page consists of a base HTML file and 5 JPEG images, and all 6 of these objects

image text in transcribed

Question 2 (30 points): Let's suppose a web page consists of a base HTML file and 5 JPEG images, and all 6 of these objects reside on the same server. The size of each object is L. A user wants to visit the web page and requests all objects in the page. Assume that the round trip time between the user and the HTTP server is RTT and the transmission rate between the user and the HTTP server is R. Please ignore the size of HTTP request messages. a. Consider HTTP with non-persistent connections. Assume that there is no parallel TCP connections. How many HTTP requests will the user's browser send to get the whole web page? What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer? b. Consider HTTP with persistent connections. How many HTTP requests will the user's browser send to get the whole web page? What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer? C. Still consider HTTP with persistent connections. Now, assume that these 5 JPEG images reside on another HTTP server. The round trip time between the user and the second HTTP server is RTT' while the transmission rate between the user and the second HTTP server is R'. What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer? Question 2 (30 points): Let's suppose a web page consists of a base HTML file and 5 JPEG images, and all 6 of these objects reside on the same server. The size of each object is L. A user wants to visit the web page and requests all objects in the page. Assume that the round trip time between the user and the HTTP server is RTT and the transmission rate between the user and the HTTP server is R. Please ignore the size of HTTP request messages. a. Consider HTTP with non-persistent connections. Assume that there is no parallel TCP connections. How many HTTP requests will the user's browser send to get the whole web page? What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer? b. Consider HTTP with persistent connections. How many HTTP requests will the user's browser send to get the whole web page? What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer? C. Still consider HTTP with persistent connections. Now, assume that these 5 JPEG images reside on another HTTP server. The round trip time between the user and the second HTTP server is RTT' while the transmission rate between the user and the second HTTP server is R'. What is the time from when the first packet is transmitted by the user's computer to when the whole web page is received by the user's computer

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Define and explain the nature of nonassociative learning.

Answered: 1 week ago