On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, 2003. FTDCS 2003. Proceedings.

Slides:



Advertisements
Similar presentations
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Advertisements

Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Esma Yildirim Department of Computer Engineering Fatih University Istanbul, Turkey DATACLOUD 2013.
Search and Replication in Unstructured Peer-to-Peer Networks Pei Cao, Christine Lv., Edith Cohen, Kai Li and Scott Shenker ICS 2002.
1 On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda Advisor: Prof. Bharat Bhargava October 16, 2002.
1 A Hybrid Architecture for Cost-Effective On-Demand Media Streaming Mohamed Hefeeda & Bharat Bhargava CS Dept, Purdue University Support: NSF, CERIAS.
A Peer-to-Peer On-Demand Streaming Service and Its Performance Evaluation Presenter: Nera Liu Author: Yang Guo, Kyoungwon Suh, Jim Kurose and Don Towsley.
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada ISP-Friendly Peer Matching without ISP Collaboration Mohamed Hefeeda (Joint.
Cis510: internet multimedia Papers to be presented today  Distributed Video Streaming over the Internet T Nguyen and A. Zakhor  On Peer-to-Peer Media.
Layered Range Multicast for Video On Demand Duc A. Tran Kien A. Hua Tai T. Do.
1 Peer-to-Peer Media Streaming Mohamed M. Hefeeda Advisor: Prof. Bharat Bhargava March 12, 2003.
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
P2VoD: Providing Fault Tolerant Video-on-Demand Streaming in Peer-to-Peer Environment Tai T.Do, Kien A. Hua, Mounir A. Tantaoui Proc. of the IEEE Int.
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
A Trust Based Assess Control Framework for P2P File-Sharing System Speaker : Jia-Hui Huang Adviser : Kai-Wei Ke Date : 2004 / 3 / 15.
Decentralized resource management for a distributed continuous media server Cyrus Shahabi and Farnoush Banaei-Kashani IEEE Transactions on Parallel and.
Locality-Aware Request Distribution in Cluster-based Network Servers 1. Introduction and Motivation --- Why have this idea? 2. Strategies --- How to implement?
Distributed Multimedia Streaming over Peer-to-Peer Network Jin B. Kwon, Heon Y. Yeom Euro-Par 2003, 9th International Conference on Parallel and Distributed.
Exploiting Content Localities for Efficient Search in P2P Systems Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang 1 1 College of William and Mary,
On Peer-to-Peer Media Streaming Dongyan Xu Mohamed Heffeda Susanne Hamrusch Bharat Bhargava 2002 International Conference on Distributed Computing Systems.
Hybrid Video Downloading / Streaming over peer-to-peer network Yufeng Shan and Shivkumar Kalyanaraman Multimedia and Expo, ICME '03. Proceedings.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
1 An Overlay Scheme for Streaming Media Distribution Using Minimum Spanning Tree Properties Journal of Internet Technology Volume 5(2004) No.4 Reporter.
On Peer-to-Peer Media Streaming by Dongyan Xu, Mohamed Hefeeda, Susanne Hambrusch, Bharat Bhargava Dept. of Computer Science, Purdue University, West Lafayette.
Wide-area cooperative storage with CFS
Skype & its protocol Aaron Loar CPE 401. Introduction Skype’s Background Topology 3 Node Types Questions.
A Framework for Cost-Effective Peer-to- Peer Content Distribution Mohamed Hefeeda and Bharat Bhargava Department of Computer Sciences Purdue University.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
A Peer-to-Peer On-Demand Streaming Service and Its Performance Evaluation Yang Guo, Kyoungwon Suh, Jim Kurose, Don Towsley University of Massachusetts,
Peer-to-peer file-sharing over mobile ad hoc networks Gang Ding and Bharat Bhargava Department of Computer Sciences Purdue University Pervasive Computing.
Introduction to client/server architecture
# Idowu Samuel O. # Kashif Shahzad # Arif Kamal M7001E - Multimedia systems [ltu.se] ©2011.
1CS 6401 Peer-to-Peer Networks Outline Overview Gnutella Structured Overlays BitTorrent.
P2P File Sharing Systems
1 Napster & Gnutella An Overview. 2 About Napster Distributed application allowing users to search and exchange MP3 files. Written by Shawn Fanning in.
Introduction Widespread unstructured P2P network
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
1 Telematica di Base Applicazioni P2P. 2 The Peer-to-Peer System Architecture  peer-to-peer is a network architecture where computer resources and services.
Pooja Shetty Usha B Gowda.  Network File Systems (NFS)  Drawbacks of NFS  Parallel Virtual File Systems (PVFS)  PVFS components  PVFS application.
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
Overcast: Reliable Multicasting with an Overlay Network CS294 Paul Burstein 9/15/2003.
D0 Farms 1 D0 Run II Farms M. Diesburg, B.Alcorn, J.Bakken, T.Dawson, D.Fagan, J.Fromm, K.Genser, L.Giacchetti, D.Holmgren, T.Jones, T.Levshina, L.Lueking,
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
PPSP Peer Protocol draft-gu-ppsp-peer-protocol PPSP WG IETF 82 Taipei Rui Cruz (presenter) Yingjie Gu, Jinwei Xia, Mário Nunes, David Bryan, João Taveira.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
Overcast: Reliable Multicasting with an Overlay Network Paper authors: Jannotti, Gifford, Johnson, Kaashoek, O’Toole Jr. Slides by Chris Johnstone.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
An analysis of Skype protocol Presented by: Abdul Haleem.
Architecture Models. Readings r Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 m Note: All figures from this book.
Peer to Peer A Survey and comparison of peer-to-peer overlay network schemes And so on… Chulhyun Park
Efficient P2P Search by Exploiting Localities in Peer Community and Individual Peers A DISC’04 paper Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
A P2P On-Demand Video Streaming System with Multiple Description Coding Yanming Shen, Xiaofeng Xu, Shivendra Panwar, Keith Ross, Yao Wang Polytechnic University.
ADVANCED COMPUTER NETWORKS Peer-Peer (P2P) Networks 1.
Application Level QoS in Multimedia Peer-to-Peer (P2P) Networks Alireza Goudarzi Nematiy and Makoto Takizawa¤ Tokyo Denki University
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
Malugo – a scalable peer-to-peer storage system..
An example of peer-to-peer application
Distributed computing deals with hardware
Chapter 2: Operating-System Structures
Mixed P2P-CDN System for Media Streaming in Mobile Environment
Chapter 2: Operating-System Structures
Presentation transcript:

On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings. The Ninth IEEE Workshop on Future Trends of, 2003

2 Agenda Introduction Peer-to-peer model Peer-to-peer streaming protocol Architecture  Index-search algorithm  Index-dispersion algorithm Simulations Evaluation Conclusion

3 Introduction Overall system capacity is the total number of concurrent clients (peers) the system can support Mainly Limited by out bound network bandwidth Others limitations  Processing power, memory size, I/O speed

4 Peer to Peer (p2p) Model Peer acts as min-server and client.  As a client, it requests media files from the system  Then the client stores segments of the media files that it is already consumed for a specific period of time  It can provide these segments to other requesting peers in the system

5 P2p Model P Denote P = {P 1, P 2, … P N } the set of all peers in the system For every P i, where 1 ≤ I ≤ N, R i (in Kb/s) : max. rate peer P i is willing the share with others G i (in bytes) : max. storage space the peer is willing to allocate to store segments of one or more media files C i : max. number of connections that can be opened to serve requesting peers

6 P2p Model Media files The set of movies currently available in the system Bit rate = R kb/s Each divided into N segments, a minimum unit which a peer can cache. Multiple peers can stream to the requesting peer, sending a rate less than R.

7 P2P Streaming Protocol The requesting peer checks for the availability of the desired media file in the system Stream segment by segment The peer cache the segments Three Phases

8 Phase I The requesting peer checks for the availability of the desired media file in the system Store other peers information about IP address Available streaming rate Some reliability information from the peer’s history k b/sLow

9 Phase I The requesting peer checks for the availability of the desired media file in the system Sort based on Proximity to client (i.e. hop count) Available streaming rate Average on-line time k b/sLow

10 Phase I The requesting peer checks for the availability of the desired media file in the system End with a verification step to make sure all segments are available. Otherwise, backoff and try later

11 Phase II Stream segment by segment For every segment s i, the protocol concurrently connects to all peers that are scheduled to provide pieces of that segment. Define P j as the set of peers supplying segment j (s j ). If a peer P x Є P j has a rate R x ≤ R, it provides |s j |(R x /R) bytes starting at wherever peer P x-1 ends Since every peer supplies a different piece of the segment and All pieces of the segment will be downloaded by the end of time of ς, which is the time to stream the whole segment

12 Phase III The peer cache the segments Runs the dispersion algorithm  Caching the right segments of the media files in right places  Discuss in later section

13 P2P Architecture Two approaches for the model  Index approach : a set of servers maintained information about the currently participating peers  Overlay approach : does not assign special roles to any peer. Index approach is presented.

14 Pros and Cons of Index Approach Pros Easier and faster to deploy The load (eg. CPU, bandwidth, storage) is load More appropriate to commercial media provider, for accounting and charging customers Cons Alleviates the scalability Single point of failure arises

15 Index searching To make the index server up-to-date  If a peer gracefully shuts down -> a daemon sending notification message to index server  Request client checks the list of candidate peers by pinging them. Client returns to index server the status in one message

16 Index Search Algorithm a. Get all peers within the same cluster b. Ask those peers to send each segment d. if those peers still can not provide the shortage, back off c. If peers within the cluster can not provide enough segments, ask the peers outside the cluster

17 Index Dispersion Objective : Store enough copies of the media files in each cluster to serve all expected client requests from that cluster. Client P y sends the request and also declare the willingness to cache up to N y segments serving others with rate R y in future The algorithm should make sure that on average, same number of copies of each segment is cached.

18 Index dispersion algorithm Consider 1 media file with N segments, rate R kb/s, and duration T hours. The index server maintains the followings For each peer P x N x : # of segment cached by P x R x : the streaming rate for N x U x : (0≤U x ≤1) fraction of time P x is online For each cluster c L c : next segment to cache q c : average request rate (per hour) within the cluster. a c : average # of copies of the movie cached by peers in cluster

19 Index Dispersion Algorithm Global A, the average # of copies of the movie cached by all peers in the system Q, average movie request rate in system Q : global required capacity (1/T)A: global available capacity

20 Index Dispersion Algorithm a. Identify which cluster the peer resides b. Compute a c, q c, A, Qc. If the demand is larger than available capacity within the cluster OR If the global available capacity is too low compared with the global request rate d. Allow the cache N y segments in a cluster-wide round-robin fashion. P y allows to cache N y segments with rate R

21 Simulation Parameters  13,000 nodes, hierarchical, Internet-like topology  A seeding peer with a limited capacity introduces a media file into the system.  Other peers joins the system and request the file  UDP and CBR  If the peer does not find all segments with full rate, it back off again after an exponentially increased waiting time. For a particular threshold, it is rejected.

22 Simulation results Average Service Rate

23 Simulation results Average Waiting time

24 Simulation results Load on the seeding peer

25 Evaluation Similar to our project The Index-based search, acting like directory server, is trivial Not deployed the index-based dispersion algorithm in simulations Low caching ratio seems useless in their system Multiple video files may need to delete the other file cache.

26 Conclusion Based on the P2P streaming protocol, two important of these steps are presented:  Index search algorithm locating peers with the required media files  Index dispersion algorithm disseminating media files into the system