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.

Slides:



Advertisements
Similar presentations
CSCE430/830 Computer Architecture
Advertisements

Henry C. H. Chen and Patrick P. C. Lee
1 NCFS: On the Practicality and Extensibility of a Network-Coding-Based Distributed File System Yuchong Hu 1, Chiu-Man Yu 2, Yan-Kit Li 2 Patrick P. C.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
Continuous Media 1 Differs significantly from textual and numeric data because of two fundamental characteristics: –Real-time storage and retrieval –High.
Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
Serverless Network File Systems. Network File Systems Allow sharing among independent file systems in a transparent manner Mounting a remote directory.
CSE521: Introduction to Computer Architecture Mazin Yousif I/O Subsystem RAID (Redundant Array of Independent Disks)
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Jack Lee Yiu-bun, Raymond Leung Wai Tak Department.
NETWORK LOAD BALANCING NLB.  Network Load Balancing (NLB) is a Clustering Technology.  Windows Based. (windows server).  To scale performance, Network.
Efficient and Flexible Parallel Retrieval using Priority Encoded Transmission(2004) CMPT 886 Represented By: Lilong Shi.
Sang-Chun Han Hwangjun Song Jun Heo International Conference on Intelligent Hiding and Multimedia Signal Processing (IIH-MSP), Feb, /05 Feb 2009.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Placement of Continuous Media in Wireless Peer-to-Peer Networks Shahram Ghadeharizadeh, Bhaskar Krishnamachari, Shanshan Song, IEEE Transactions on Multimedia,
Peer-to-peer Multimedia Streaming and Caching Service Jie WEI, Zhen MA May. 29.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
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.
Lecture 17 I/O Optimization. Disk Organization Tracks: concentric rings around disk surface Sectors: arc of track, minimum unit of transfer Cylinder:
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
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.
Decentralized resource management for a distributed continuous media server Cyrus Shahabi and Farnoush Banaei-Kashani IEEE Transactions on Parallel and.
Energy Efficient Prefetching – from models to Implementation 6/19/ Adam Manzanares and Xiao Qin Department of Computer Science and Software Engineering.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
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.
A Novel Video Layout Strategy for Near-Video-on- Demand Servers Shenze Chen & Manu Thapar Hewlett-Packard Labs 1501 Page Mill Rd. Palo Alto, CA
Redundant Data Update in Server-less Video-on-Demand Systems Presented by Ho Tsz Kin.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Presented by: Raymond Leung Wai Tak Supervisor:
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Efficient Support for Interactive Browsing Operations in Clustered CBR Video Servers IEEE Transactions on Multimedia, Vol. 4, No.1, March 2002 Min-You.
Server-Based Smoothing of Variable Bit-Rate Streams Stergios V. Anastasiadis, Kenneth C. Sevcik, and Michael Stumm ACM Multimedia 2001.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
RAID-x: A New Distributed Disk Array for I/O-Centric Cluster Computing Kai Hwang, Hai Jin, and Roy Ho.
Exploiting Virtualization for Delivering Cloud based IPTV Services Speaker : 吳靖緯 MA0G IEEE Conference on Computer Communications Workshops.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
1 Recitation 8 Disk & File System. 2 Disk Scheduling Disks are at least four orders of magnitude slower than main memory –The performance of disk I/O.
©2001 Pål HalvorsenINFOCOM 2001, Anchorage, April 2001 Integrated Error Management in MoD Services Pål Halvorsen, Thomas Plagemann, and Vera Goebel University.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
Min Xu1, Yunfeng Zhu2, Patrick P. C. Lee1, Yinlong Xu2
Profiling Grid Data Transfer Protocols and Servers George Kola, Tevfik Kosar and Miron Livny University of Wisconsin-Madison USA.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY RANI NALAMARU DEPARTMENT OF COMPUTER SCIENCE BALL STATE UNIVERSITY Efficient Transmission.
App. TypeApp. Name Distributed or Parallel A parallel version of the Gaussian elimination application SAGE (SAIC's Adaptive Grid Eulerian hydrocode) Adaptive.
1 Push-to-Peer Video-on-Demand System. 2 Abstract Content is proactively push to peers, and persistently stored before the actual peer-to-peer transfers.
ASSIGNMENT, DISTRIBUTION AND QOS PROVISIONING IN COMMUNICATION NETWORKS.
Simulation case studies J.-F. Pâris University of Houston.
Operating System concerns for Multimedia Multimedia File Systems -Jaydeep Punde.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Course Matters. NUS.SOC.CS5248 Ooi Wei Tsang 2 Make-Up Lecture This Saturday, 23 October TR7, 1-3pm Topic: “CPU scheduling”
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
GPFS: A Shared-Disk File System for Large Computing Clusters Frank Schmuck & Roger Haskin IBM Almaden Research Center.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
Seminar On Rain Technology
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
Pouya Ostovari and Jie Wu Computer & Information Sciences
Accelerating Peer-to-Peer Networks for Video Streaming
DASH2M: Exploring HTTP/2 for Internet Streaming to Mobile Devices
CS 414 – Multimedia Systems Design Lecture 31 – Media Server (Part 5)
Repair Pipelining for Erasure-Coded Storage
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.
RAID RAID Mukesh N Tekwani
Xiaoyang Zhang1, Yuchong Hu1, Patrick P. C. Lee2, Pan Zhou1
UNIT IV RAID.
RAID RAID Mukesh N Tekwani April 23, 2019
Database System Architectures
Presentation transcript:

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 Engineering The Chinese University of Hong Kong

Contents Introduction Server-less Architecture Performance Evaluation System Scalability Summary

Client-Server Architecture Traditional client-server architecture clients connect to server for streaming system capacity limited by server capacity Introduction

Motivation Limitation of client-server system system capacity limited by server capacity high-capacity server is very expensive Availability of powerful client-side device, or called set- top box (STB) home entertainment center - VCD/DVD player, digital music jukebox, etc. relatively high processing capability, and local HD storage Server-less architecture eliminates the dedicated server each user node (STB) serves both as a client and as a mini- server fully distributed storage, processing, and streaming Introduction

Server-less Architecture Basic principles dedicated server is eliminated users are divided into clusters video data is distributed to nodes in a cluster Architecture

Challenges Data placement policy Retrieval and transmission scheduling Fault tolerance Distributed directory service System adaptation and dynamic reconfiguration etc. Architecture

Data Placement Policy Block-based striping video data is divided into fixed-size blocks and then distributed among nodes in the cluster low storage requirement, load balanced capable of fault tolerance using redundant unit(s) Architecture

Retrieval and Transmission Scheduling Round-based Schedulers retrieves data block in each micro-round transmission starts at the end of micro-round Architecture

Retrieval and Transmission Scheduling Disk retrieval scheduling Grouped Sweeping Scheme 1 (GSS) able to control the tradeoff between disk efficiency and buffer requirement Transmission scheduling Macro round length time required that every node sends out a data block of Q bytes depends on system scale, data block size and video bitrate T f – macro round length n – number of nodes within a cluster Q – data block size R v – video bit-rate 1 P.S. Yu, M.S. Chen & D.D. Kandlur, “Grouped Sweeping Scheduling for DASD-based Multimedia Storage Management”, ACM Multimedia Systems, vol. 1, pp. 99 –109, 1993 Architecture

Retrieval and Transmission Scheduling Transmission scheduling Micro round length under the GSS scheduling, the GSS group duration within each macro round depends on macro round length and number of GSS groups T g – micro round length T f – macro round length g – number of GSS groups Architecture

Fault Tolerance Node characteristics lower reliability than high-end server shorter mean time to failure (MTTF) system fails if any one of the nodes fails Fault tolerance mechanism erasure correction code to implement fault tolerance Reed-Solomon Erasure code 2 (RSE) retrieve and transmit coded data at higher data rate recover data blocks at the receiver node 2 A. J. McAuley, “Reliable Broadband Communication Using a Burst Erasure Correcting Code”, in Proc. ACM SIGCOMM 90, Philadelphia, PA, September 1990, pp. 287–306. Architecture

Fault Tolerance Redundancy encode redundant data from video data recover lost data in case of node failure(s) Architecture

Performance Evaluation Storage capacity Network capacity Disk access bandwidth Buffer requirement System response time Performance Evaluation

Storage Capacity What is the minimum number of nodes required to store a given amount of video data? For example: video bitrate: 150 KB/s video length: 2 hours storage required for 100 videos: 102.9GB If each node can allocate 1GB for video storage, then 103 nodes are needed (without redundancy); or 108 nodes are needed (with 5 nodes added for redundancy) This sets the lower limit on the cluster size. Performance Evaluation

Network Capacity How many nodes can be connected given a certain network switching capacity? For example: video bitrate: 150KB/s If the network switching capacity is 32Gbps, and assume 60% utilization up to 8388 nodes (without redundancy) Network switching capacity is not a bottleneck. Performance Evaluation

Disk Access Bandwidth Recall the retrieval and transmission scheduling: Continuous data transmission constraint: must finish retrieval before transmission in each micro-round need to quantify the disk retrieval round length and verify against the above constraint Performance Evaluation

Disk Access Bandwidth Disk retrieval round length time required retrieving data blocks for transmission depends on seeking overhead, rotational latency and data block size suppose k requests per GSS group Continuous data transmission constraint: – maximum retrieval round length -- fixed overhead – maximum seek time for k requests W -1 – rotational latency r min – minimum transfer rate Q – data block size Performance Evaluation

Disk Access Bandwidth Example: Disk: Quantum Atlas 10K 3 Data block size (Q): 4KB Video bitrate (R v ): 150KB/s Number of nodes: N GSS group number (g): N (reduced to FCFS scheduling) Micro round length: Disk retrieval round length: 0.017s < 0.027s Therefore the constraint is satisfied even if FCFS scheduler is used. 3 G. Ganger and J. Schindler, “Database of Validated Disk Parameters for DiskSim”, Performance Evaluation

Buffer Requirement Receiver buffer requirement double-buffering scheme: one for storing data received from the network plus locally retrieved data blocks another one for video decoder Sender buffer requirement under GSS scheduling: Performance Evaluation

Buffer Requirement Total buffer requirement versus system scale Data block size: 4KB, Number of GSS groups: g=N Performance Evaluation

System Response Time System response time time required from sending out request to playback begins scheduling delay + pre-fetch delay Scheduling delay under GSS time required from sending out request to data retrieval starts can be analyzed using urns model detailed derivation available elsewhere 4 Prefetch delay time required from retrieving data to playback begins one micro round to retrieve a data block and one macro round to transmit the whole block to the client node 4 Lee, J.Y.B., “Concurrent push-A scheduling algorithm for push-based parallel video servers”, IEEE Transactions on Circuits and Systems for Video Technology, Volume: 9 Issue: 3, April 1999, Page(s): Performance Evaluation

System Response Time For example: Data block size: 4KB Performance Evaluation

System Scalability Not limited by network or disk bandwidth prefers FCFS disk scheduler over SCAN Limited by system response time prefetch delay increases linearly with system scale example: response time of 5.615s at a scale of 200 nodes Solution forms new clusters to expand system scale uses smaller block size (limited by disk efficiency) System Scalability

Summary Server-less architecture proposed for VoD dedicated server is eliminated each node serves as both a client and a mini-server inherently scalable Challenges addressed: data placement policy retrieval and transmission scheduling fault tolerance Performance evaluation acceptable storage and buffer requirement scalability limited by system response time Summary

End of Presentation Thank you Question & Answer Session

Reliability Higher reliability achieved by redundancy each node has independent failure and recovery rate, and respectively let state i be the system state where i out of the N nodes failed at state i, the changing rate to state (i+1) and (i-1) are and respectively assume the system can tolerate up to h failures using redundancy the system state diagram is shown as follows: Appendix

Reliability System mean time to failure (MTTF) can be analyzed by continuous time Markov Chain model solving the expected time from state 0 to state (h+1) in previous diagram, Appendix

Impact of Redundancy Bandwidth requirement (without redundancy) (N-1) received from network and one locally retrieved from disk Bandwidth requirement (with h redundancy) additional network bandwidth will be needed for transmitting the redundant data R v – video bit-rate Appendix

Impact of Redundancy Data block size (without redundancy) block size: Q bytes Data block size (with h redundancy) block size: Appendix