Distribution – Part I July 18, 2015 INF 5071 – Performance in Distributed Systems.

Slides:



Advertisements
Similar presentations
Multicast Tree Reconfiguration in Distributed Interactive Applications Pål Halvorsen 1,2, Knut-Helge Vik 1 and Carsten Griwodz 1,2 1 Department of Informatics,
Advertisements

Presentation of M.Sc. Thesis Work Presented by: S. M. Farhad [ P] Department of Computer Science and Engineering, BUET Supervised by: Dr. Md. Mostofa.
Scalable On-demand Media Streaming Anirban Mahanti Department of Computer Science University of Calgary Canada T2N 1N4.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Slice–and–Patch An Algorithm to Support VBR Video Streaming in a Multicast– based Video–on–Demand System.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
Multicast on VOD Caching multicast protocol for on-demand video delivery Kien A. Hua, Duc A. Tran, Roy Villafane Patching: A Multicast Technique for True.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 A Comparative Study of Periodic Broadcasting Scheme for Large-Scale Video Streaming Prepared by Nera Liu.
An Efficient Implementation of Interactive Video-on-Demand Steven Carter and Darrell Long University of California, Santa Cruz Jehan-François Pâris University.
Client Buffering Techniques for Scalable Video Broadcasting Over Broadband Networks With Low User Delay S.-H. Gary Chan and S.-H. Ivan Yeung, IEEE Transactions.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
Analysis of Using Broadcast and Proxy for Streaming Layered Encoded Videos Wilson, Wing-Fai Poon and Kwok-Tung Lo.
1 Threshold-Based Multicast for Continuous Media Delivery Lixin Gao, Member, IEEE, and Don Towsley, Fellow, IEEE IEEE TRANSACTION ON MULTIMEDIA.
1 Provision of VCR-like Functions in Multicast VoD.
Periodic Broadcasting with VBR- Encoded Video Despina Saparilla, Keith W. Ross and Martin Reisslein (1999) Prepared by Nera Liu Wing Chun.
VCR-oriented Video Broadcasting for Near Video-On- Demand Services Jin B. Kwon and Heon Y. Yeon Appears in IEEE Transactions on Consumer Electronics, vol.
Distributed Servers Architecture for Networked Video Services S.-H. Gary Chan and Fouad Tobagi Presented by Todd Flanagan.
An Active Buffer Management Technique for Providing Interactive Functions in Broadcast Video-on-Demand Systems Zongming Fei, Member, IEEE, Mostafa H. Ammar,
Scalable On-Demand Media Streaming With Packet Loss Recovery Anirban Mahanti, Derek L. Eager, Mary K. Vernon, and David J. Sundaram-Stukel IEEE/ACM Trans.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
HHMSM: A Hierarchical Hybrid Multicast Stream Merging Scheme For Large-Scale Video-On-Demand Systems Hai Jin and Dafu Deng Huazhong University of Science.
End-to-End Analysis of Distributed Video-on-Demand Systems P. Mundur, R. Simon, and A. K. Sood IEEE Transactions on Multimedia, Vol. 6, No. 1, Feb 2004.
Distributed Servers Architecture for Networked Video Services S. H. Gary Chan, Member IEEE, and Fouad Tobagi, Fellow IEEE.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Presented by: Raymond Leung Wai Tak Supervisor:
Proxy-based Distribution of Streaming Video over Unicast/Multicast Connections B. Wang, S. Sen, M. Adler and D. Towsley University of Massachusetts Presented.
Dimensioning the Capacity of True Video-on-Demand Servers Nelson L. S. da Fonseca, Senior Member, IEEE, and Hana Karina S. Rubinsztejn IEEE TRANSACTIONS.
Fast broadcasting scheme(FB) In FB scheme, we divide a movie into 2 k - 1 segments, k channels is needed. S = S 1 · S 2 · S 3 · S 4 · S 5 · S 6 · S 7 Waiting.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
Recursive Patching by Wong Ying Wai. Agenda Introduction Review on patching  Patching  Transition patching Recursive patching Stream assignment Performance.
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
A scalable technique for VCR-like interactions in video-on-demand applications Tantaoui, M.A.; Hua, K.A.; Sheu, S.; IEEE Proceeding of the 22nd International.
Design of an Interactive Video- on-Demand System Yiu-Wing Leung, Senior Member, IEEE, and Tony K. C. Chan IEEE Transactions on multimedia March 2003.
The Split and Merge Protocol for Interactive Video-on-Demand Wanjiun Liao and Victor O.K. Li IEEE Multimedia.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
1 Proxy-Assisted Techniques for Delivering Continuous Multimedia Streams Lixin Gao, Zhi-Li Zhang, and Don Towsley.
Distribution – Part I August 10, 2015 INF 5071 – Performance in Distributed Systems.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Raymond Leung and Jack Y.B. Lee Department of Information.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Video Delivery Technologies for Large-Scale Deployment of Multimedia Applications By Hua, Tavanapong, Tanatui et. al., Univ. of Central Florida Proceedings.
Scalable On-Demand Media Streaming with Packet Loss Recovery A. Mahanti, D. L. Eager, (USask) M. K. Vernon, D S-Stukel (Wisc) Presented by Cheng Huang.
Ali Saman Tosun Computer Science Department
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
Distribution – Part II 13/10 – 2003 INF5070 – Media Storage and Distribution Systems:
Multimedia Applications Ali Saman Tosun Computer Science Department.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
Segment-Based Proxy Caching of Multimedia Streams Authors: Kun-Lung Wu, Philip S. Yu, and Joel L. Wolf IBM T.J. Watson Research Center Proceedings of The.
Caching IRT0180 Multimedia Technologies Marika Kulmar
Distribution – Part II 27/10 – 2006 INF5071 – Performance in Distributed Systems.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
Distribution – Part II 3 January 2016 INF5071 – Performance in distributed systems.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
Simulation case studies J.-F. Pâris University of Houston.
The Analysis of Optimal Stream Merging Solutions for Media-on- Demand Amotz Bar-Noy CUNY and Brooklyn College Richard Ladner University of Washington.
Distribution – Part I 4/10 – 2004 INF 5070 – Media Servers and Distribution Systems:
Scheduling Techniques for Media-on-Demand Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
CHANNEL ALLOCATION FOR SMOOTH VIDEO DELIVERY OVER COGNITIVE RADIO NETWORKS Globecom 2010, FL, USA 1 Sanying Li, Tom H. Luan, Xuemin (Sherman) Shen Department.
Distribution – Part I 20/10 – 2006 INF 5071 – Performance in Distributed Systems.
Scalable video distribution techniques Laurentiu Barza PLANETE project presentation: Sophia Antipolis 12 October 2000.
1 Scheduling Techniques for Broadcasting Popular Media. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
A Practical Performance Analysis of Stream Reuse Techniques in Peer-to-Peer VoD Systems Leonardo B. Pinho and Claudio L. Amorim Parallel Computing Laboratory.
Distribution – Part I 6/10 – 2003
The Impact of Replacement Granularity on Video Caching
Video on Demand (VoD) March, 2003
Video On Demand.
Presentation transcript:

Distribution – Part I July 18, 2015 INF 5071 – Performance in Distributed Systems

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Distribution  Why does distribution matter? −Digital replacement of earlier methods  What can be distributed?

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Distribution Network Approaches  Wide-area network backbones −FDM/WDM −10GB Ethernet −ATM −SONET  Local Distribution network −Wired HFC (Hybrid Fiber Coax - cable) ADSL (Asymmetric Digital Subscriber Line) EPON (Ethernet Based Passive Optical Networks) −Wireless IEEE WiMax Distribution Node End Systems Server ATM Wireless ATM ADSL Cable network EPON

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Delivery Systems Developments Network

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Delivery Systems Developments Network Saving network resources: Stream scheduling Several Programs or Timelines

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo From Broadcast to True Media-on-Demand  Broadcast (No-VoD) −Traditional, no control  Pay-per-view (PPV) −Paid specialized service  Quasi Video On Demand (Q-VoD) −Distinction into interest groups −Temporal control by group change  Near Video On Demand (N-VoD) −Same media distributed in regular time intervals −Simulated forward / backward  True Video On Demand (T-VoD) −Full control for the presentation, VCR capabilities −Bi-directional connection [Little, Venkatesh 1994]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Background/Assumption: −Performing all delivery steps for each user wastes resources −Scheme to reduce (network & server) load needed −Terms Stream: a distinct multicast stream at the server Channel: allocated server resources for one stream Segment: non-overlapping pieces of a video −Combine several user requests to one stream  Mechanisms −Type I: Delayed on-demand delivery −Type II: Prescheduled delivery −Type III: Client-side caching

Type I: Delayed On Demand Delivery

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Delayed On Demand Delivery −Collecting requests −Joining requests −Batching Delayed response Collect requests for same title Batching Features  Simple decision process  Can consider popularity Drawbacks  Obvious service delays  Limited savings multicast Central server 1st client2nd client3rd client [Dan, Sitaram, Shahabuddin 1994]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Delayed On Demand Delivery −Collecting requests −Joining requests −Batching Delayed response −Content Insertion E.g. advertisement loop −Piggybacking “Catch-up streams” Display speed variations −Typical Penalty on the user experience Single point of failure multicast Central server 1st client2nd client3rd client

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Graphics Explained  Y - the current position in the movie −the temporal position of data within the movie that is leaving the server  X - the current actual time time position in movie (offset) stream leaving faster than playback speed leaving slower than playback speed

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Piggybacking [Golubchik, Lui, Muntz 1995]  Save resources by joining streams −Server resources −Network resources  Approach −Exploit limited user perception −Change playout speed Up to +/- 5% are considered acceptable  Only minimum and maximum speed make sense −i.e. playout speeds 0 +10%

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Piggybacking time position in movie (offset) Request arrival fast slow

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Piggybacking time position in movie (offset)

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Adaptive Piggybacking time position in movie (offset) [Aggarwal, Wolf, Yu 1996]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Performance Percentage of savings in BW Interarrival Time in seconds Original piggybacking Optimize for every arrival, “snapshot” Greedy odd-even merging [Drawing after Aggarwal, Wolf and Yu (1996)]

Type II: Prescheduled Delivery

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Prescheduled Delivery −No back-channel −Non-linear transmission −Client buffering and re-ordering −Video segmentation −Examples Staggered broadcasting, Pyramid b., Skyscraper b., Fast b., Pagoda b., Harmonic b., … −Typical Good theoretic performance High resource requirements Single point of failure

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling Cut into segments begin end Movie Reserve channels for segments Central server 1st client 2nd client 3rd client broadcasting Determine a transmission schedule

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Prescheduled Delivery  Arrivals are not relevant −users can start viewing at each interval start

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Staggered Broadcasting  Near Video-on-Demand −Applied in real systems −Limited interactivity is possible (jump, pause) −Popularity can be considered  change phase offset time position in movie (offset) Jump forward Pause Continue Phase offset [Almeroth, Ammar 1996]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting  Idea −Fixed number of HIGH-bitrate channels C i with bitrate B −Variable size segments a 1 … a n −One segment repeated per channel −Segment length is growing exponentially −Several movies per channel, total of m movies (constant bitrate 1)  Operation −Client waits for the next segment a 1 (on average ½ len(d 1) ) −Receives following segments as soon as linearly possible  Segment length −Size of segment a i : −  is limited −  >1 to build a pyramid −  ≤ B/m for sequential viewing −  =2.5 considered good value  Drawback −Client buffers more than 50% of the video −Client receives all channels concurrently in the worst case [Viswanathan, Imielinski 1996]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting  Pyramid broadcasting with B=4, m=2,  =2  Movie a a1a2a3a4 time time to play a1 back at normal speed

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting a2 a3 a4 Channel 1 Channel 2 Channel 3 Channel 4 a1  Pyramid broadcasting with B=4, m=2,  =2  Movie a a1a2a3a4 time Channels bandwidth for B normal speeds Time to send a segment: len(a n )/B Sending several channels in parallel

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting a2 a3 a4 Channel 1 Channel 2 Channel 3 Channel 4 b2 b3 b4 b1a1  Pyramid broadcasting with B=4, m=2,  =2  Movie a a1a2a3a4 time Segments of m different movies per channel: a & b

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting a2b2a2b2 a3b3 a2b2a2b2a2b2a2b2a2b2a2b2 a3b3a3b3a3b3 a4b4a4b4a4 a3b3 a2b2a2b2 Channel 1 Channel 2 Channel 3 Channel 4 a1b1  Pyramid broadcasting with B=4, m=2,  =2 request for a arrives client starts receiving and playing a1 client starts receiving and playing a2 client starts receiving a3client starts playing a3 client starts receiving a4client starts playing a4

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting a2b2a2b2 a3b3 a2b2a2b2a2b2a2b2a2b2a2b2 a3b3a3b3a3b3 a4b4a4b4a4 a3b3 a2b2a2b2 Channel 1 Channel 2 Channel 3 Channel 4 a1b1  Pyramid broadcasting with B=4, m=2,  =2

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pyramid Broadcasting Channel 1 Channel 2 Channel 3 Channel 4 a1b1  Pyramid broadcasting with B=5, m=2,  =2.5 a2b2a2b2a2b2a2b2a2b2a2b2a2b2a2b2 a3b3a3b3a3b3 a4b4  Choose m=1  Less bandwidth at the client and in multicast trees  At the cost of multicast addresses

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Skyscraper Broadcasting  Idea −Fixed size segments −More than one segment per channel −Channel bandwidth is playback speed −Segments in a channel keep order −Channel allocation series 1,2,2,5,5,12,12,25,25,52,52,... −Client receives at most 2 channels −Client buffers at most 2 segments  Operation −Client waits for the next segment a1 −Receive following segments as soon as linearly possible [Hua, Sheu 1997]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Skyscraper Broadcasting a1a2a3a4a5a6a7a8a9a10 time a1 a2a3a2a3a2a3a2a3 a4a5a4a5a4a5a4a5 a6a7a8a9a10a6a7a8 Channel 1 Channel 2 Channel 3 Channel 4 time request for a arrives a1a2a3a4a5a6a7a8

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Skyscraper Broadcasting a1a2a3a4a5a6a7a8a9a10 time a1 a2a3a2a3a2a3a2a3 a4a5a4a5a4a5a4a5 a6a7a8a9a10a6a7a8 Channel 1 Channel 2 Channel 3 Channel 4 time request for a arrives a1a2a3a4a5a6a7a8

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Other Pyramid Techniques  Fast Broadcasting −Many more, smaller segments Similar to previous Sequences of fixed-sized segments instead of different sized segments −Channel allocation series Exponential series: 1,2,4,8,16,32,64,... −Segments in a channel keep order −Shorter client waiting time for first segment −Channel bandwidth is playback speed −Client must receive all channels −Client must buffer 50% of all data [Juhn, Tseng 1998]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Fast Broadcasting a1 time Channel 1 Channel 2 Channel 3 Channel 4 time request for a arrives a2a3a4a5a6a7a8a9a10a11a12a13a14a15 a1 a2a3a2a3a2a3a2a3a2a3a2a3a2a3a2a3 a4a5a6a7a4a5a6a7a4a5a6a7a4a5a6a7 a8a9a10a11a12a13a14a15a8a9a10a11a12a13a14a15 a1a2a3a4a5a6a7a8a9a10a11a12a13a14a15

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Fast Broadcasting a1 time Channel 1 Channel 2 Channel 3 Channel 4 time request for a arrives a2a3a4a5a6a7a8a9a10a11a12a13a14a15 a1 a2a3a2a3a2a3a2a3a2a3a2a3a2a3a2a3 a4a5a6a7a4a5a6a7a4a5a6a7a4a5a6a7 a8a9a10a11a12a13a14a15a8a9a10a11a12a13a14a15 a1a2a3a4a5a6a7a8a9a10a11a12a13a14a15

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pagoda Broadcasting  Pagoda Broadcasting −Channel allocation series 1,3,5,15,25,75,125 −Segments are not broadcast linearly −Consecutive segments appear on pairs of channels −Client must receive up to 7 channels For more channels, a different series is needed ! −Client must buffer 45% of all data −Based on the following Segment 1 – needed every round Segment 2 – needed at least every 2 nd round Segment 3 – needed at least every 3 rd round Segment 4 – needed at least every 4 th round … [Paris, Carter, Long 1999]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pagoda Broadcasting a1 time C 1 C 2 C 3 C 4 time request for a arrives a2a3a4a5a6a7a8a9a10a11a12a13a14a15 a1 a2a4a2a5a2a4a2a5a2a4a2a5a2a4a2a5 a3a6a12a3a7a13a3a6a14a3a7a15a3a6a12a3 a8a9a10a11a16a17a18a19a8a9a10a11a16a17a18a19 a16a17a18a19 a1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16a17a18a19

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Pagoda Broadcasting time C 1 C 2 C 3 C 4 time request for a arrives a1 a2a4a2a5a2a4a2a5a2a4a2a5a2a4a2a5 a3a6a12a3a7a13a3a6a14a3a7a15a3a6a12a3 a8a9a10a11a16a17a18a19a8a9a10a11a16a17a18a19 a1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16a17a18 a1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16a17a18a19

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Harmonic Broadcasting  Idea −Fixed size segments −One segment repeated per channel −Later segments can be sent at lower bitrates −Receive all other segments concurrently −Harmonic series determines bitrates Bitrate(a i ) = Playout-rate(a i )/i Bitrates 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, …  Consideration −Size of a 1 determines client start-up delay −Growing number of segments allows smaller a 1 −Required server bitrate grows very slowly with number of segments  Drawback −Client buffers about 37% of the video for >=20 channels −(Client must re-order small video portions) −Complex memory cache for disk access necessary [Juhn, Tseng 1997]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Harmonic Broadcasting time a1a2a3a4a5 a1 a2 a3 a4 a5 C 1 C 2 C 3 C 4 C 5 a1a2a3a4a5 request for a arrives

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Harmonic Broadcasting time a1a2a3a4a5 a1 a2 a3 a4 a5 C 1 C 2 C 3 C 4 C 5 a1a2a3a4a5 request for a arrives ERROR

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Harmonic Broadcasting time a1a2a3a4a5 a1 a2 a3 a4 a5 C 1 C 2 C 3 C 4 C 5 a1a2a3a4a5 request for a arrives Read a1 and consume concurrently Read rest of a2 and consume concurrently  Consumes 1 st segment faster than it is received !!!

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Harmonic Broadcasting: Bugfix  Delayed Harmonic Broadcasting −Wait until a 1 is fully buffered −All segments will be completely cached before playout −Fixes the bug in Harmonic Broadcasting or  Cautious Harmonic Broadcasting −Wait an additional a 1 time −Starts the harmonic series with a 2 instead of a 1 −Fixes the bug in Harmonic Broadcasting [By Paris, Long, …]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Prescheduled Delivery Evaluation  Techniques −Video segmentation −Varying transmission speeds −Re-ordering of data −Client buffering  Advantage −Achieve server resource reduction  Problems −Tend to require complex client processing −May require large client buffers −Are incapable (or not proven) to work with user interactivity Current research to work with VCR controls −Guaranteed bandwidth required

Type III: Client Side Caching

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Client Side Caching −On-demand delivery −Client buffering −Multicast complete movie −Unicast start of movie for latecomers (patch)  Examples −Stream Tapping, Patching, Hierarchical Streaming Merging, …  Typical −Considerable client resources −Single point of failure

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Patching [Hua, Cai, Sheu 1998, also as Stream Tapping Carter, Long 1997]  Server resource optimization is possible multicast Unicast patch stream Central server 1st client2nd client Join ! cyclic buffer

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) (patch) window size restart time of full stream request arrival min buffer size patch stream full stream

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) interarrival time interdeparture time full stream patch stream

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) Number of concurrent streams Concurrent full streams Concurrent patch streams Total number of concurrent streams The average number of patch streams is constant if the arrival process is a Poisson process

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) Number of concurrent streams Shown patch streams are just examples But always: patch end times on the edge of a triangle Compare the numbers of streams

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) Number of concurrent streams

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) Number of concurrent streams

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling time position in movie (offset) Number of concurrent streams

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Minimization of server load  Minimum average number of concurrent streams  Depends on −Fmovie length −  U expected interarrival time −   patching window size −C U cost of unicast stream at server −C M cost of multicast stream at server −S U setup cost of unicast stream at server −S M setup cost of multicast stream at server

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Optimal patching window size −For identical multicast and unicast setup costs  Servers can estimate  U −And achieve massive saving −For different multicast and unicast setup costs Patching window size Interarrival time Movie length Unicast7445 Mio $ Greedy patching 3722 Mio $ -patching 375 Mio $ Based on prices by Deutsche Telekom, IBM and Real Networks from 1997

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo HMSM  Hierarchical Multicast Stream Merging  Key ideas −Each data transmission uses multicast −Clients accumulate data faster than their playout rate multiple streams accelerated streams −Clients are merged in large multicast groups −Merged clients continue to listen to the same stream to the end  Combines −Dynamic skyscraper −Piggybacking −Patching [Eager, Vernon, Zahorjan 2001]

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo HMSM  Always join the closest neighbour  HMSM(n,1) −Clients can receive up to n streams in parallel  HMSM(n,e) −Clients can receive up to n full-bandwidth streams in parallel −but streams are delivered at speeds of e, where e « 1  Basically −HMSM(n,1) is another recursive application of patching

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo HMSM(2,1) time position in movie (offset) request arrival determine patch size client’s cyclic buffer playout

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo HMSM(2,1) time position in movie (offset) request arrival determine patch size client’s cyclic buffer Not received because n=2 extended patch closest neighbor first extended buffer

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo HMSM(2,1) time position in movie (offset) request arrival closest neighbor first patch extension

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Client Side Caching Evaluation  Techniques −Video segmentation −Parallel reception of streams −Client buffering  Advantage −Achieves server resource reduction −Achieves True VoD behaviour  Problems −Optimum can not be achieved on average case −Needs combination with prescheduled technique for high-popularity titles −May require large client buffers −Are incapable (or not proven) to work with user interactivity −Guaranteed bandwidth required

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Overall Evaluation  Advantage −Achieves server resource reduction  Problems −May require large client buffers −Incapable (or not proven) to work with user interactivity −Guaranteed bandwidth required  Fixes −Introduce loss-resistant codecs and partial retransmission −Introduce proxies to handle buffering −Choose computationally simple variations

Zipf-distribution The typical way or modeling access probability

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Zipf distribution and features  Popularity −Estimate the popularity of movies (or any kind of product) −Frequently used: Zipf distribution  Danger −Zipf-distribution of a process can only be applied while popularity doesn’t change is only an observed property Objects sorted by popularity probability

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Optimum depends on popularity −Estimate the popularity of movies −Frequently used: Zipf distribution

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Problem −Being Zipf-distributed is only an observed property probability frequency

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Density function of the Zipf distribution −Compared to real-world data

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Optimized delivery scheduling  Conclusion −Major optimizations possible −Independent optimizations don’t work  Centralized systems problems −Scalability is limited −Minimum latency through distance −Single point of failure  Look at distributed systems −Clusters −Distribution Architectures

INF5071, Carsten Griwodz & Pål Halvorsen University of Oslo Some References 1. Thomas D.C. Little and Dinesh Venkatesh: "Prospects for Interactive Video-on-Demand", IEEE Multimedia 1(3), 1994, pp Asit Dan and Dinkar Sitaram and Perwez Shahabuddin: "Scheduling Policies for an On-Demand Video Server with Batching", IBM TR RC 19381, Rajesh Krishnan and Dinesh Venkatesh and Thomas D. C. Little: "A Failure and Overload Tolerance Mechanism for Continuous Media Servers", ACM Multimedia Conference, November 1997, pp Leana Golubchik and John C. S. Lui and Richard R. Muntz: "Adaptive Piggybacking: A Novel Technique for Data Sharing in Video-on-Demand Storage Servers", Multimedia Systems Journal 4(3), 1996, pp Charu Aggarwal, Joel Wolf and Philipp S. Yu: “On Optimal Piggyback Merging Policies for Video-on- Demand Systems”, ACM SIGMETRICS Conference, Philadelphia, USA, 1996, pp Kevin Almeroth and Mustafa Ammar: "On the Use of Multicast Delivery to Provide a Scalable and Interactive Video-on-Demand Service", IEEE JSAC 14(6), 1996, pp S. Viswanathan and T. Imielinski: "Metropolitan Area Video-on-Demand Service using Pyramid Broadcasting", Multimedia Systems Journal 4(4), 1996, pp Kien A. Hua and Simon Sheu: "Skyscraper Broadcasting: A New Broadcasting Scheme for 9. Metropolitan Video-on-Demand Systems", ACM SIGCOMM Conference, Cannes, France, 1997, pp L. Juhn and L. Tsend: "Harmonic Broadcasting for Video-on-Demand Service", IEEE Transactions on Broadcasting 43(3), 1997, pp Carsten Griwodz and Michael Liepert and Michael Zink and Ralf Steinmetz: "Tune to Lambda Patching", ACM Performance Evaluation Review 27(4), 2000, pp Kien A. Hua and Yin Cai and Simon Sheu: "Patching: A Multicast Technique for True Video-on Demand Services", ACM Multimedia Conference, Bristol, UK, 1998, pp Derek Eager and Mary Vernon and John Zahorjan: "Minimizing Bandwidth Requirements for On-Demand Data Delivery", Multimedia Information Systems Conference Jehan-Francois Paris: