PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.

Slides:



Advertisements
Similar presentations
Cost-Based Cache Replacement and Server Selection for Multimedia Proxy Across Wireless Internet Qian Zhang Zhe Xiang Wenwu Zhu Lixin Gao IEEE Transactions.
Advertisements

Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Cooperative Overlay Networking for Streaming Media Content Feng Wang 1, Jiangchuan Liu 1, Kui Wu 2 1 School of Computing Science, Simon Fraser University.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Jack Lee Yiu-bun, Raymond Leung Wai Tak Department.
LightFlood: An Optimal Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
Cloud Download : Using Cloud Utilities to Achieve High-quality Content Distribution for Unpopular Videos Yan Huang, Tencent Research, Shanghai, China Zhenhua.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
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.
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
Peer-to-peer Multimedia Streaming and Caching Service Jie WEI, Zhen MA May. 29.
Multimedia Proxy Caching Mechanism for Quality Adaptive Streaming Applications in the Internet R. Rejaie, H. Yu, M. Handley, D. Estrin.
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
1 A Framework for Lazy Replication in P2P VoD Bin Cheng 1, Lex Stein 2, Hai Jin 1, Zheng Zhang 2 1 Huazhong University of Science & Technology (HUST) 2.
Introducing: Cooperative Library Presented August 19, 2002.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
1 Simultaneous Distribution Control and Privacy Protection for Proxy based Media Distribution George Mason University Songqing Chen (George Mason University)
P2P: Advanced Topics Filesystems over DHTs and P2P research Vyas Sekar.
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,
Internet Cache Pollution Attacks and Countermeasures Yan Gao, Leiwen Deng, Aleksandar Kuzmanovic, and Yan Chen Electrical Engineering and Computer Science.
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
Squirrel: A decentralized peer- to-peer web cache Paul Burstein 10/27/2003.
Adaptive Web Caching Lixia Zhang, Sally Floyd, and Van Jacob-son. In the 2nd Web Caching Workshop, Boulder, Colorado, April 25, System Laboratory,
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
Wide-area cooperative storage with CFS
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
Loopback: Exploiting Collaborative Caches for Large-Scale Streaming Ewa Kusmierek, Yingfei Dong, Member, IEEE, and David H. C. Du, Fellow, IEEE.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung Google∗
Achieving Load Balance and Effective Caching in Clustered Web Servers Richard B. Bunt Derek L. Eager Gregory M. Oster Carey L. Williamson Department of.
Distributed Systems Concepts and Design Chapter 10: Peer-to-Peer Systems Bruce Hammer, Steve Wallis, Raymond Ho.
SCAN: a Scalable, Adaptive, Secure and Network-aware Content Distribution Network Yan Chen CS Department Northwestern University.
The Power of P2P beyond File Sharing Xiaodong Zhang College of William and Mary.
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth Prof. Chi Chi Hung School of Computing, National University.
CH2 System models.
Chord & CFS Presenter: Gang ZhouNov. 11th, University of Virginia.
Peer to Peer Research survey TingYang Chang. Intro. Of P2P Computers of the system was known as peers which sharing data files with each other. Build.
1 Towards Cinematic Internet Video-on-Demand Bin Cheng, Lex Stein, Hai Jin and Zheng Zhang HUST and MSRA Huazhong University of Science & Technology Microsoft.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
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.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Xiaozhou Li COS 461: Computer Networks (precept 04/06/12) Princeton University.
Application of Content Computing in Honeyfarm Introduction Overview of CDN (content delivery network) Overview of honeypot and honeyfarm New redirection.
Adaptive Web Caching CS411 Dynamic Web-Based Systems Flying Pig Fei Teng/Long Zhao/Pallavi Shinde Computer Science Department.
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.
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.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
Improving Disk Throughput in Data-Intensive Servers Enrique V. Carrera and Ricardo Bianchini Department of Computer Science Rutgers University.
LightFlood: An Efficient Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
Plethora: Infrastructure and System Design. Introduction Peer-to-Peer (P2P) networks: –Self-organizing distributed systems –Nodes receive and provide.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
An Efficient Quorum-based Fault- Tolerant Approach for Mobility Agents in Wireless Mobile Networks Yeong-Sheng Chen Chien-Hsun Chen Hua-Yin Fang Department.
Content Delivery Networks: Status and Trends Speaker: Shao-Fen Chou Advisor: Dr. Ho-Ting Wu 5/8/
Peer-to-Peer Video Systems: Storage Management CS587x Lecture Department of Computer Science Iowa State University.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
Large Scale Sharing Marco F. Duarte COMP 520: Distributed Systems September 19, 2004.
Plethora: A Locality Enhancing Peer-to-Peer Network Ronaldo Alves Ferreira Advisor: Ananth Grama Co-advisor: Suresh Jagannathan Department of Computer.
Does Internet media traffic really follow the Zipf-like distribution? Lei Guo 1, Enhua Tan 1, Songqing Chen 2, Zhen Xiao 3, and Xiaodong Zhang 1 1 Ohio.
Fault – Tolerant Distributed Multimedia Streaming Web Application By Nirvan Sagar – Srishti Ganjoo – Syed Shahbaaz Safir
The Impact of Replacement Granularity on Video Caching
Plethora: Infrastructure and System Design
SCOPE: Scalable Consistency in Structured P2P Systems
Peer-to-Peer Video Services
Presentation transcript:

PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong Zhang

Computer Science Department, College of William and Mary Media Streaming in Internet Rapidly growing applications –Scientific data retrieval and processing –Commercial applications –Education and professional training –Entertainments Challenges –Large size of media objects –Real time requirement of media content delivering

Computer Science Department, College of William and Mary Existing Systems Content Delivery Network (CDN) –Performance effective but very expensive –Need dedicated hardware and administration Proxy-based media caching –Cost effective but not scalable –Limited storage and bandwidth, single point failure Client-based P2P collaboration –Scalable, cost effective, but not guarantee to QoS –Non-dedicated service –Peers come and go frequently

Computer Science Department, College of William and Mary PROP: Design Rationale and Objectives Integrate proxy caching and P2P collaboration techniques Coordinate the proxy and its P2P clients The functions of proxy and clients are complementary –Media proxy works as a backup server To provide a reliable and dedicated service –Clients self-organize into a P2P system To provide a scalable and cost-effective service Build a scalable and reliable streaming proxy system for VoD in cost-effective manner.

Computer Science Department, College of William and Mary Outline Introduction System architecture Resource management Performance evaluation Conclusion

Computer Science Department, College of William and Mary Infrastructure Overview Internet Media Server Firewall Media Proxy P2P Overlay Content Addressable Network Intranet DHT

Computer Science Department, College of William and Mary System Components Streaming proxy –Interface between the system and media servers –Bootstrap site of the system P2P overlay of users, in which each peer is –A client –A streaming server –An index server and router

Computer Science Department, College of William and Mary Media Proxy Bootstrap Fetch media data from media server Cache media objects by segment Serve media data for clients New client join Media server Media proxy Client A Client B Internet

Computer Science Department, College of William and Mary Receive data Playback Cache data locally Peer as a Client

Computer Science Department, College of William and Mary Peer as a Streaming Server Local Cache Client B Client A Receive requests Stream media data Peer Streaming Server

Computer Science Department, College of William and Mary pointers to serving peers …… meta data Segment Index peer proxy Segment ID value Peer as an Index Server/Router DHT Routing table ? Is Segment ID in my key space? Yes No key? peer

Computer Science Department, College of William and Mary Basic Operations Publishing and unpublishing media segments –publish (segment_id, location) –unpublish (segment_id, location) Requesting and serving media segments –request (segment_id, URL) Getting and updating segment meta data –update_info (segment_id, data) –get_info (segment_id)

Computer Science Department, College of William and Mary Peer Serves Streaming Internet Media Server Firewall Media Proxy P2P Overlay DHT ? Overlay routing Point to point ready? yes!

Computer Science Department, College of William and Mary Proxy Fetches Data Internet Media Server Firewall Media Proxy P2P Overlay DHT ? Overlay routing Point to point NUL L ask proxy to fetch publish

Computer Science Department, College of William and Mary Outline Introduction System architecture Resource management Performance evaluation Conclusion

Computer Science Department, College of William and Mary pointers to serving peers …… meta data Segment Index peer proxy Streaming Server Selection The index maintains a list of serving peers, including the proxy The proxy works as a backup server, takes over media streaming when necessary Peer with the largest available serving capacity is selected as the serving peer 100Kbps1Mbps

Computer Science Department, College of William and Mary Data Management Each client maintains its cache separately (use LRU)? –Not efficient: popular media data have too many replicas –Not effective: a single streaming session can flush all cached data 1 hour streaming video may consume more than 100MB cache –Even worse in some cases: many media are accessed only once People are not interested in viewing the same movie repeatedly Exploit locality of all clients collectively? –Global cache: each peer maintains cached data based on the access of all clients, instead of itself –Keep both popular and unpopular media data –Consider both the popularity and replica number of media objects

Computer Science Department, College of William and Mary Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index

Computer Science Department, College of William and Mary Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index popularity

Computer Science Department, College of William and Mary average access rate in the past Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index popularity

Computer Science Department, College of William and Mary average access rate in the pastprobability of future access Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index popularity

Computer Science Department, College of William and Mary average access rate in the pastprobability of future access Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index popularity average access interval in the past future access prob. is small

Computer Science Department, College of William and Mary average access rate in the pastprobability of future access Popularity of Media Segments segment meta data  T 0 : first access time  T r : most recent access time  S sum : total accessed bytes  S 0 : segment size  n: # of requests  r: # of copies pointers to serving peers …… meta data Segment index popularity the popularity of media objects fades with time going average access interval in the past future access prob. is small

Computer Science Department, College of William and Mary Utility of Cached Media Segments Media data are cached with the progress of media accessing Each media segment may have multiple copies cached in the system The popularity of media objects/segments –follows heavy tail distribution –varies with time going  Segments with small popularity and large number of replications  Segments with large popularity and large number of replications  Define the segment utility function  Segment with smallest utility should be evicted

Computer Science Department, College of William and Mary Distribution of Segment Replicas Resilient to peer failure –Segments of an object should be distributed across multiple peers instead of a single peer Balancing load of media serving –Popular segments should have more copies in the system proxy media object Use replacement operations to achieve such a distribution 345 popularunpopular

Computer Science Department, College of William and Mary 00 Cache Replacement Proxy cache replacement –popularity-based –segments with the smallest popularity are replaced –better than LRU Peer cache replacement –utility-based –segments with the smallest utility value are replaced proxy object object ?

Computer Science Department, College of William and Mary Fault Tolerance Graceful degradation when proxy fails –DHT still works (no single point of failure) –Clients fetch data from media server directly Peer failure –Each peer replicates its neighbors’ DHT and the index of cached data –When a peer and all its neighbors fail (small prob.) The peer who detect this situation initiate a broadcast to let all peers republish its cached contents and check the validation the serving peer list in the index

Computer Science Department, College of William and Mary Outline Introduction System architecture Resource management Performance evaluation Conclusion

Computer Science Department, College of William and Mary Performance Evaluation Metrics –Streaming jitter byte ratio –Delayed startup ratio –Byte hit ratio Simulations –Proxy caching system –Pure P2P system without proxy –Our system

Computer Science Department, College of William and Mary Workload Summary HP Corporate Media Solutions: REAL Synthetic workload: WEB and PART –Media object popularity follows Zipf distribution –Request arrival follows Possion distribution # of req# of obj# of peerssize(GB)length (min)duration REAL days WEB day PART day

Computer Science Department, College of William and Mary Simulation Results Overall Performance Proxy load changes Replacement policies Routing hops

Computer Science Department, College of William and Mary Streaming Jitter Byte Ratio

Computer Science Department, College of William and Mary Delayed Startup Ratio

Computer Science Department, College of William and Mary Byte Hit Ratio

Computer Science Department, College of William and Mary Simulation Results Overall Performance Proxy load changes Replacement policies Routing hops

Computer Science Department, College of William and Mary Proxy Load

Computer Science Department, College of William and Mary Simulation Results Overall Performance Proxy load changes Replacement policies Routing hops

Computer Science Department, College of William and Mary Streaming Jitter Byte Ratio

Computer Science Department, College of William and Mary Delayed Startup Ratio

Computer Science Department, College of William and Mary Byte Hit Ratio

Computer Science Department, College of William and Mary Simulation Results Overall Performance Proxy load changes Replacement policies Routing hops

Computer Science Department, College of William and Mary Routing Hops

Computer Science Department, College of William and Mary Outline Introduction System architecture Resource management Performance evaluation Conclusion

Computer Science Department, College of William and Mary Conclusion Propose a scalable and reliable P2P media streaming system Address the limits of –Unscalability of proxy caching systems –Unreliable QoS of pure P2P systems Propose global replacement policies for –Proxy to maximize its cache utilization –Peers to optimize data distribution across the system

Thank you!