Proxy Caching for Peer-to-Peer Live Streaming The International Journal of Computer Networks, 2010 Ke Xu, Ming Zhang, Mingjiang Ye Dept. of Computer Science,

Slides:



Advertisements
Similar presentations
Chapter 11 – Virtual Memory Management
Advertisements

A Survey of Web Cache Replacement Strategies Stefan Podlipnig, Laszlo Boszormenyl University Klagenfurt ACM Computing Surveys, December 2003 Presenter:
Building Cloud-ready Video Transcoding System for Content Delivery Networks(CDNs) Zhenyun Zhuang and Chun Guo Speaker: 饒展榕.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
October 15, 2002MASCOTS WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis Nayden Markatchev Carey Williamson Department of Computer.
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.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Cloud Download : Using Cloud Utilities to Achieve High-quality Content Distribution for Unpopular Videos Yan Huang, Tencent Research, Shanghai, China Zhenhua.
A Mobile Infrastructure Based VANET Routing Protocol in the Urban Environment School of Electronics Engineering and Computer Science, PKU, Beijing, China.
1 School of Computing Science Simon Fraser University, Canada Modeling and Caching of P2P Traffic Mohamed Hefeeda Osama Saleh ICNP’06 15 November 2006.
Small-world Overlay P2P Network
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada ISP-Friendly Peer Matching without ISP Collaboration Mohamed Hefeeda (Joint.
A Security Pattern for a Virtual Private Network Ajoy Kumar and Eduardo B. Fernandez Dept. of Computer Science and Eng. Florida Atlantic University Boca.
Multimedia Proxy Caching Mechanism for Quality Adaptive Streaming Applications in the Internet R. Rejaie, H. Yu, M. Handley, D. Estrin.
October 14, 2002MASCOTS Workload Characterization in Web Caching Hierarchies Guangwei Bai Carey Williamson Department of Computer Science University.
P2P Network for Very Large Virtual Environment Proceedings of the ACM symposium on virtual reality software and technology VRST '06.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
An Analysis of Internet Content Delivery Systems Stefan Saroiu, Krishna P. Gommadi, Richard J. Dunn, Steven D. Gribble, and Henry M. Levy Proceedings of.
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.
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.
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.
Efficient Content Location Using Interest-based Locality in Peer-to-Peer Systems Presented by: Lin Wing Kai.
1 CAPS: A Peer Data Sharing System for Load Mitigation in Cellular Data Networks Young-Bae Ko, Kang-Won Lee, Thyaga Nandagopal Presentation by Tony Sung,
1 Chapter 8 Virtual Memory Virtual memory is a storage allocation scheme in which secondary memory can be addressed as though it were part of main memory.
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.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
On Peer-to-Peer Media Streaming by Dongyan Xu, Mohamed Hefeeda, Susanne Hambrusch, Bharat Bhargava Dept. of Computer Science, Purdue University, West Lafayette.
Caching And Prefetching For Web Content Distribution Presented By:- Harpreet Singh Sidong Zeng ECE Fall 2007.
Least Popularity-per-Byte Replacement Algorithm for a Proxy Cache Kyungbaek Kim and Daeyeon Park. Korea Advances Institute of Science and Technology (KAIST)
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.
Exploiting Virtualization for Delivering Cloud based IPTV Services Speaker : 吳靖緯 MA0G IEEE Conference on Computer Communications Workshops.
Can Internet Video-on-Demand Be Profitable? SIGCOMM 2007 Cheng Huang (Microsoft Research), Jin Li (Microsoft Research), Keith W. Ross (Polytechnic University)
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
«Tag-based Social Interest Discovery» Proceedings of the 17th International World Wide Web Conference (WWW2008) Xin Li, Lei Guo, Yihong Zhao Yahoo! Inc.,
1 Speaker : 童耀民 MA1G Authors: Ze Li Dept. of Electr. & Comput. Eng., Clemson Univ., Clemson, SC, USA Haiying Shen ; Hailang Wang ; Guoxin.
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
Advanced Network Architecture Research Group 2001/11/149 th International Conference on Network Protocols Scalable Socket Buffer Tuning for High-Performance.
Design and Implement an Efficient Web Application Server Presented by Tai-Lin Han Date: 11/28/2000.
P.1Service Control Technologies for Peer-to-peer Traffic in Next Generation Networks Part2: An Approach of Passive Peer based Caching to Mitigate P2P Inter-domain.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
Web Cache Replacement Policies: Properties, Limitations and Implications Fabrício Benevenuto, Fernando Duarte, Virgílio Almeida, Jussara Almeida Computer.
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.
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.
Design and Analysis of Advanced Replacement Policies for WWW Caching Kai Cheng, Yusuke Yokota, Yahiko Kambayashi Department of Social Informatics Graduate.
Advanced Network Architecture Research Group 2001/11/74 th Asia-Pacific Symposium on Information and Telecommunication Technologies Design and Implementation.
Online Kinect Handwritten Digit Recognition Based on Dynamic Time Warping and Support Vector Machine Journal of Information & Computational Science, 2015.
An Effective Disk Caching Algorithm in Data Grid Why Disk Caching in Data Grids?  It takes a long latency (up to several minutes) to load data from a.
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.
Temporal-DHT and its Application in P2P-VoD Systems Abhishek Bhattacharya, Zhenyu Yang & Shiyun Zhang.
Multicache-Based Content Management for Web Caching Kai Cheng and Yahiko Kambayashi Graduate School of Informatics, Kyoto University Kyoto JAPAN.
Kenza Hamidouche, Mérouane Debbah
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
Evaluating Content Management Techniques for Web Proxy Caches Martin Arlitt, Ludmila Cherkasova, John Dilley, Rich Friedrich and Tai Jin Proceeding on.
Plethora: Infrastructure and System Design. Introduction Peer-to-Peer (P2P) networks: –Self-organizing distributed systems –Nodes receive and provide.
SocialVoD: a Social Feature-based P2P System Wei Chang, and Jie Wu Presenter: En Wang Temple University, PA, USA IEEE ICPP, September, Beijing, China1.
Time-Space Trust in Networks Shunan Ma, Jingsha He and Yuqiang Zhang 1 College of Computer Science and Technology 2 School of Software Engineering.
An Overview of Proxy Caching Algorithms Haifeng Wang.
Speaker:Chiang Hong-Ren An Investigation and Implementation of Botnet Detection Schemes.
Mobile Peer-to-Peer Video Streaming over Information-Centric Networks The International Journal of Computer and Telecommunications Networking, 2015 Andrea.
A Social-Network-Aided Efficient Peer-to-Peer Live Streaming System IEEE/ACM TRANSACTIONS ON NETWORKING, JUNE 2015 Haiying Shen, Yuhua Lin Dept. of Electrical.
Video Caching in Radio Access network: Impact on Delay and Capacity
Plethora: A Locality Enhancing Peer-to-Peer Network Ronaldo Alves Ferreira Advisor: Ananth Grama Co-advisor: Suresh Jagannathan Department of Computer.
Distributed Caching and Adaptive Search in Multilayer P2P Networks Chen Wang, Li Xiao, Yunhao Liu, Pei Zheng The 24th International Conference on Distributed.
Peer-to-Peer Video Services
Presentation transcript:

Proxy Caching for Peer-to-Peer Live Streaming The International Journal of Computer Networks, 2010 Ke Xu, Ming Zhang, Mingjiang Ye Dept. of Computer Science, Tsinghua University, Beijing. Jiangchuan Liu Dept. of Computer Science, Simon Fraser University, Canada Zhijing Qin School of Software and Microelectronics, Peking University, Beijing Speaker: Yi-Ting Chen

Outline Introduction Proxy Caching for P2P Live Streaming: A General View Method Overview –Data Request analysis and data Request Synthesis –Sliding Window (SLW) Caching Algorithm Evaluation and Discussion Conclusions 2

Introduction 3 P2P has been widely used in such applications as file sharing [1][2], voice over IP (VoIP) [3], live streaming and video-on-demand (VOD) [4]. To mitigate the traffic load, caching data of interest closer to end-users has been frequently suggested in the literature. Studies [12][17] show that P2P traffic is highly redundant and caching can reduce as much as 50–60% of the traffic. [1]. [2]. [3]. [4] [12] R.J. Dunn, Effectiveness of caching on a peer-to-peer workload, Master’s Thesis, University of Washington, Seattle, [17] N. Leibowitz, A. Bergman, R. Ben-shaul, A. Shavit, Are file swapping networks cacheable? characterizing P2P traffic, in: Proceedings of the 7th International WWW Caching Workshop, 2002.

Introduction 4 The caches are generally deployed at gateways of institutions, referred to as proxy caching. Recent works have also examined caching for P2P file sharing [6] and [10]. The key issues: –Object popularity. –Temporal and spatial locality. [6] O. Saleh, M. Hefeeda, Modeling and caching of peer-to-peer traffic, in: ICNP ’06: Proceedings of the 2006 IEEE International Conference on Network Protocols, IEEE Computer Society, Washington, DC, USA, 2006, pp. 249–258. [10] A. Wierzbicki, N. Leibowitz, M. Ripeanu, R. Wozniak, Cache replacement policies revisited: the case of P2P traffic, in: Proceedings of the 2004 IEEE International Symposium on Cluster Computing and the Grid, 2004, pp. 182–189.

Generic Cache Architecture for P2P Traffic Objective: To serve as many data requests locally as possible. The gateway intercepts the P2P downloading requests and redirects them to the P2P cache server. The server will fetch data from remote peers only when the data cannot be found in its local cache. 5

P2P Proxy Cache Working Mechanism 6

Distinct Features of P2P Live Streaming 7

Method Overview 8 1. Analyzing the real data request of PPLive[4], and identify its key characteristics. 2. Finding that the request time of the same data piece from different peers exhibits a generalized extreme value distribution. 3. Developing a data request generator that can closely synthesize P2P live streaming traffic. 4. Proposing a novel sliding window (SLW) caching algorithm. – [4]

Data request analysis and data request synthesis 9 Stable requesting rate. Request Group

Request Group Size Most groups are of size 32 or %75%

Request Group Size 11

The Interval Between Adjacent Requests of the Same Subgroup More than 97% is between 0 and s. 12

: Some peers watch frames in a channel minutes behind other peers. : Some peers fetch a data piece in a channel seconds behind other peers in the same network. –Indicates the lifetime of a data piece in live streaming. : The interval between the first and last requests of a data piece. : A data piece is already released and not yet obsolete (still being requested). –These active data pieces are continuous, called. Request Lag Distribution Among Peers 13 Playback Lag Request Lag Lag Length Active Requesting Window

Studying the Request Lag Dividing the data requests from five hosts into smaller segments each with 500 data requests, and 4140 request segments are acquired. Each request segment represents the requests of a single user. Obtained requests of 4140 peers from the data captured in five clients. 14

Studying the Request Lag We retrieve the time stamp of data request number 300 from each group. –Calculating the lag to the earliest request of the group. 15 Lag Length15 s

Probability Density Function (PDF) : 16

Caching Design 17 Playback Rate Typical Data Piece Size The cache 352 kbps Playback Rate

Channel Popularity Channel popularity varies when user joins the overlay network or aborts connection. Cache should be allocated according to channel popularity. 18

Studying Channel Popularity We measure the online user number of totally 4403 channels at 21:30 pm on with the help of PPLive. 19 The relationship is expressed as:

Data Request Generator 20 Step1: Determine online user number for each channel.

Data Request Generator 21 Step2: Generate lag data. The request lags obey the GEV distribution. Generate request lags for each channel. Assign a lag to each user as the initial request time stamp.

Data Request Generator 22 Step3: Determine request interval. –1 s between groups and 0.5 s between subgroups. –To match real traces better, some randomness is added (e.g., add ~ ). –The request interval is calculated when generating every new request. Step4: Determine subgroup size. –Only two group size : 32 is 0.25% and 0.75% for 48. –Subgroup1 or Subgroup 2 is determined according to Fig. 4e and f in a probabilistic fashion.

Data Request Generator 23 Step5: Generate request data (time stamp, channel ID, sequence number] entry) for each user.

Data Request Generator 24 Step6: Merge all the requests with the key of time stamp and get output.

Sliding window (SLW) caching algorithm 25 R: Requesting Rate L: Lag Length

26

Advantages of Caching Algorithm Compared with the typical LRU (Least Recently Used) algorithm, SLW also exploits spatial locality by maintaining a continuous caching window. The overhead of cache management is low. The time complexity for cache replacement is O(1), and the space complexity is O(chN). The periodic adjustment of channel cache size has O(chN) both as the time and space complexity. 27

Experimental setup We use synthetic data requests generated to evaluate caching algorithms. 28

Performance Result – Hit Rate 29

Performance Result – Hit Rate 30 [6] O. Saleh, M. Hefeeda, Modeling and caching of peer-to-peer traffic, in: ICNP ’06: Proceedings of the 2006 IEEE International Conference on Network Protocols, IEEE Computer Society, Washington, DC, USA, 2006, pp. 249–258.

Performance Result – Hit Rate 31 GD (GreedyDual-Size) [31]: Assigns a weight to each newly cached data piece. Similar to LRU. [31] N. Young, The k-server dual and loose competitiveness for paging, Algorithmica 11 (1994) 525–541.

Performance Gain of SLW over LRU 32 Gaining nearly 50% improvement

Conclusions We studied the characteristics of data requests in P2P live streaming and modeled the lag distribution. We designed a data request generator to generate synthetic traffic for P2P live streaming applications. Furthermore, we proposed a novel caching algorithm for P2P live streaming applications-SLW. The SLW algorithm explores both temporal and spatial locality of data requests. The algorithm gets the best performance among the online caching policies including LRU, LFU and FIFO. 33

Thanks for your listening! 34