Title: Video On Demand
1Video On Demand
2Video on Demand
- One video server
- Many video data
- Many clients
- Client want to watch at any time
3Assumptions
- Constant bitrate stream
- Perfect network transport
4Unicast Solution
- One channel per client
- No start-up latency
- No client buffer
- Low client bandwidth
- Large server bandwidth
- Not scalable
5Multicast Solution
- Batching
- aggregate client requests
- serve using multicast
- clients have to wait
- No client buffer
- Low client bandwidth
- Scheduling Policies for an On-Demand Video
Server with Batching - Dan, Sitaram, Shahabuddin, IBM
6Multicast Solution
- User-centered approach
- Scheduling data based on user requests
- Data-centered approach
- Dont care about user
- Just broadcast popular video
7Multicast Solution
- Batching
- Staggered Broadcast
8Staggered Broadcast
Video
C0
C1
C2
9Staggered Broadcast
- 2 hour video
- 5 minutes waiting time
- Number of channels
- 2 x 60 / 5 24
- Required bandwidth
1.5Mbps x 24 36Mbps
10Multicast Solution
- Batching
- Staggered Broadcast
- clients have to wait
- No client buffer
- Low client bandwidth
- Huge server bandwidth
11Multicast Solution
- Batching
- Staggered Broadcast
- Periodic Broadcast
12Periodic Broadcast
Video
C0
C1
C2
13Pyramid Broadcast
Video
C0
C1
C2
14Pyramid Broadcast
Video
C0
C1
C2
15Analysis of Pyramid Broadcast
- Notations
- B Total available bandwidth
- Bv Bandwidth of video
- Tv Total length of each video
- K Number of segments per video
- Ti Length of segment i
- ? Factor in geometric series
16Channel Bandwidth
playback time Ti
i
i1
i1
Doh! Just miss it!
download time Ti1Bv/Bi
Download time for segment i1 needs to be smaller
than Ti for it to arrive in time.
17Channel Bandwidth
18? 2
19Start-up Latency
20Optimal ?
T1
?
2.5
21Storage Requirements
22Pyramid Broadcast
- Large client bandwidth (?KBv)
- Huge client buffer (7080 Tv)
23Permutation-based Pyramid Broadcast
C0
C1
C2
24Channel Bandwidth
playback time Ti
i
i1
i1
i1
i1
Doh! Just miss it!
download time Ti1Bv/Bi
X
X needs to be smaller than Ti for segment i1 to
arrive in time.
25Channel Bandwidth
26Client Latency
27Storage Requirement
- One channel at a time
- Can pause and wait
28Storage Requirement
pause
k-1
k-1
k
k
resume
Within time X, better not consume all data in
buffer.
X
29Storage Requirement
pause
k-1
k-1
k
k
resume
Within time X, better not consume all data in
buffer.
X
30Storage Requirement
31Comparisons
Scheme Storage Servers BW Clients BW
Pyramid 70 ?KBv 4-5 Bv
Pyramid 20 (?p)KBv 2-3 Bv
Carter, Long and Paris Video on Demand
Broadcasting Protocols
32Pyramid Broadcasting
33Skyscraper Broadcasting
- Observations
- storage requirement is affected by size of the
largest chunk - So, lets limit the size of the largest chunk!
34Pyramid
Skyscraper
35Skyscraper Broadcasting
- Uses series
- 1 2 2 5 5 12 12 25 25 52 52 W W W
36Skyscraper Example
37Skyscraper Example
38Comparisons
Scheme Storage Servers BW Clients BW
Pyramid 70 ?KBv 4-5 Bv
Pyramid 20 (?p)KBv 2-3 Bv
Skyscraper 10 KBv 1-2 Bv
Carter, Long and Paris Video on Demand
Broadcasting Protocols
39Other schemes
- Pagoda Broadcasting 1 3 5 15 25 75 125
- Harmonic Broadcasting
- Equal segment size, varies bandwidth instead!
40Multicast Solution
- Batching
- Staggered Broadcast
- Periodic Broadcast
- Sending rate playback rate
- May need multiple channels
- Need additional client buffer
- Need to wait
41Multicast Solution
- Batching
- Staggered Broadcast
- Periodic Broadcast
- Patching
42Patching
Time
mcast
unicast
Client Request
43Patching
Patching Window W
Time
mcast
mcast
Client Request
44Grace Patching
- if W lt B
- client buffer videoW .. end
- 30 minutes video
- 1 client arrival per minute
- Total data delivered
45Scenario 1 B 15mins
- 30 minutes video
- 1 client arrival per minute
- Total data delivered
46Scenario 2 B 5mins
- 30 minutes video
- 1 client arrival per minute
- Total data delivered
47Scenario 3 B 2mins
- 30 minutes video
- 1 client arrival per minute
- Total data delivered
48Summary
- Batching (User Centered)
- Staggered Broadcast (Data Centered)
- Periodic Broadcast (Data Centered)
- Patching (True VOD)