SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
James F. Kurose, Keith W. Ross
Chapter:
Multimedia Networking
Exercise:
Problems
Question:4 | ISBN:9780132856201 | Edition: 6

Question

Recall the simple model for HTTP streaming shown in Figure 7.3. Suppose the client application buffer is infinite, the server sends at the constant rate x, and the video consumption rate is r with r < x. Also suppose playback begins immediately. Suppose that the user terminates the video early at time t = E.At the time of termination, the server stops sending bits (if it hasn’t already sent all the bits in the video).

a. Suppose the video is infinitely long. How many bits are wasted (that is, sent but not viewed)?

b. Suppose the video is T seconds long with T > E. How many bits are wasted (that is, sent but not viewed)?

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

a) Buffer grows at rate x-r. At time (x-r)*E bits are in buffer and are wasted.

b) Let S be the time when the server has transmitted the entire video. If S>E , buffer grows at rate x-r until time E , so the waste is again (x-r)*E . If S<E , then at time E there are T-E seconds of video still to be played in buffer. So the waste is r*(T-E).

BY MANISH KUMAR FROM INDIA

1 0

Discussions

Post the discussion to improve the above solution.