1 / 38

Large-Scale and Cost-Effective Video Services

Large-Scale and Cost-Effective Video Services. CS587x Lecture Department of Computer Science Iowa State University. Contents. On-demand Multicast Periodic Broadcast Application-Layer Multicast Peer-to-Peer Video Services. What to Cover Today. On-demand Multicast Patching

Download Presentation

Large-Scale and Cost-Effective Video Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Large-Scale and Cost-Effective Video Services CS587x Lecture Department of Computer Science Iowa State University

  2. Contents • On-demand Multicast • Periodic Broadcast • Application-Layer Multicast • Peer-to-Peer Video Services

  3. What to Cover Today • On-demand Multicast • Patching • Double Patching • Periodic Broadcast • Client Centric Approach

  4. Server Channels • Videos are delivered to clients as a continuous stream. • Server bandwidth determines the number of video streams can be supported simultaneously. • Server bandwidth can be organized and managed as a collection of logical channels. • These channels can be scheduled to deliver various videos.

  5. Using Dedicated Channel Video Server Dedicated stream Client Client Client Client TooExpensive!

  6. Video Server Multicast stream Client Client Client Client Batching • Make requests wait and then serve together • Drawbacks: • If the waiting is too long, many requests may renege • If the waiting is too short, each multicast can serve only one request

  7. Adaptive Piggybacking • Video streams are merged by adjusting their playback rates new arrivals -5% +5% C B A departures • Drawbacks: • The adjustment of playback rate must be small • Adjusting playback rate needs specialized hardware

  8. Research Challenge • Each request should be served immediately • Each multicast should serve a large number of requests

  9. Motivation Example video multicast A

  10. Motivation Example skew point video t multicast video player buffer A B

  11. Motivation Example skew point video t regular stream patching stream multicast video player buffer A B

  12. Motivation Example regular stream video 2t multicast video player buffer A B

  13. Proposed: Patching time patching window patching window r p p p r p p A B C D E F G Multicast group Multicast group

  14. Optimal Patching Window D • Server Bandwidth Requirement = • Candidates of optimal patching window : W

  15. Limitation of Patching Performance • Patching cost increases as the time gap enlarges regular stream A 0 t t+1 t+2 patching stream B 0 t patching stream C 0 t t+1 • Serving B and C takes 2t+1 time units of data

  16. Motivation Example regular stream A 0 t t+1 t+2 t+3 long patching stream B 0 t t+1 t+2 short patching stream C 0 • Serving B and C takes only t+3 time units of data • About 50% improvement when t is large!

  17. Observation regular stream A long patching stream B T short patching stream C short patching stream D T / 2 T • A patching stream is shareable in the next time units if it delivers extra T time units of data 2

  18. Proposed: Double Patching time multicast window Multi… patching window patching window Patch… r sp sp sp lp sp sp r sp A B C D E F G H I

  19. Performance Optimization • The data delivered during one multicast window • by the regular stream: • by the long patching streams: • by the short patching streams:

  20. Effect of Inter-Arrival Time 70 60 50 Standard Patching Double Patching Mean Server Bandwidth Requirement (Mbit/s) 40 30 20 10 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 Mean inter-arrival time (seconds)

  21. Periodic Strategy • Conventional Periodic Broadcasting [Dan94, Dan96] • Broadcast period is reduced to • Research Challenge • Reduce the broadcast period to ?

  22. Motivation Example • Design Parameters : ( K = 4, C = 2 ) • Video Segmentation : [ 1, 2, 2, 4 ] video length D1 D2 D3 D4 Group 1: D1 D2 Group 2: D3 D4

  23. Motivation Example (con’t) • Broadcast schedule D1 D1 D1 D1 D1 D1 D1 D1 Channel 1 Group 1 D2 D2 D2 D2 Channel 2 D3 D3 D3 D3 Channel 3 Group 2 D4 D4 Channel 4

  24. Motivation Example (con’t) • Clients download segments group by group a D1 Channel 1 Group 1 D2 Channel 2 D3 Channel 3 Group 2 D4 Channel 4

  25. Motivation Example (con’t) • Clients download segments group by group a b D1 Channel 1 Group 1 D2 Channel 2 D3 Channel 3 Group 2 D4 Channel 4

  26. Motivation Example (con’t) • Continuity within group • Continuity across group boundary D1 D1 Group 1 D2 D2 D2 Channel 2 D3 Channel 3

  27. Download Bandwidth vs. Access Latency #Channels 1 2 3 4* Segmentation [ 1, 1, 1, 1 ] [ 1, 2, 2, 4 ] [ 1, 2, 4, 4 ] [ 1, 2, 4, 8 ] Latency

  28. Proposed: Client-Centric Approach • Design Parameters • K broadcast channels and C download channels Video Segmentation 1 2 .. C Group 1 2 : K C g =

  29. Significance and Impact of CCA • CCA is the first generalized technique to leverage receiving bandwidth for more efficient broadcast • CCA can be modified to support receivers with different downloading bandwidth [Hua02, Hua03]

  30. What is the limit? • The first segment determines the broadcast period • How to make this segment as small as possible under the condition that playback continuity is guaranteed • Continuity within group • Continuity across group boundary D1 D1 Group 1 D2 D2 D2 Channel 2 D3 Channel 3

  31. Question L1 Lj Li+c-1 • What is the maximum size of Si+c? • Depend on which loader is used to download

  32. Segmentation Rule L1 Lj Li+c-1 • If Lj is used to download, Si+c can be any size as long as • It is a multiple of Sj • It is no larger than Sj+Sj+1+Si+c-1

  33. There are only three possible alignments

  34. There are only three possible alignments

  35. There are only three possible alignments

  36. Download Schedules (C=2) Schedule 1 Group 1 Group 2 Group 3 L1 S1, 1 S2, 1 S2, 1 S1, 2 S2, 2 S2, 2 L2 Broadcast series: 1, 2, 3, 4, 6, 8, 16 …. Schedule 2 Group 1 Group 2 Group 3 L1 S1, 1 S2, 1 S2, 1 S1, 2 S2, 2 S2, 2 L2 Broadcast series: 1, 2, 2, 5, 5, 12, 12, 25, 25 …

  37. Client-Centric Broadcast (CCB) Assuming C-channel receiving capability, we have C! different download schedules For each download schedule, we have one broadcast series Among C! broadcast series, choose the fastest one

  38. Segmentation Implementation Si in Group g is download by loader L[i]

More Related