Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you are creating software for a streaming-video site. You want to limit the video read-ahead the gap between how much has been downloaded and

Suppose you are creating software for a streaming-video site. You want to limit the video read-ahead the gap between how much has been downloaded and how much the viewer has actually watched to approximately 1 MB; the server should pause in sending when necessary to enforce this. On the other hand, you do want the receiver to be able to read ahead by up to this much. You should assume that the TCP connection throughput will be higher than the actual video-data-consumption rate.

(a). Suppose the TCP window size happens to be exactly 1 MB. If the receiver simply reads each video frame from the TCP connection, displays it, and then pauses briefly before reading the next frame in accordance with the frame rate, how will the flow-control mechanism of 12.17 TCP Flow Control be applied?

(b). What support do you have to add to the video-transfer application to allow it to read ahead by 1 MB but not to exceed this? Even the server side of the application cannot affect the sending winsize directly. Hint: both client and server sides of the application will have to implement something to enable this feature.

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

LO5 Illustrate the steps in developing a base pay system.

Answered: 1 week ago

Question

LO3 Outline strategic compensation decisions.

Answered: 1 week ago