Proxy Caching For Multimedia Objects

Slides:



Advertisements
Similar presentations
The Performance Impact of Kernel Prefetching on Buffer Cache Replacement Algorithms (ACM SIGMETRIC 05 ) ACM International Conference on Measurement & Modeling.
Advertisements

謝文婷 SocialTube: P2P-assisted Video Sharing in Online Social Networks Authors: Ze Li ; Haiying Shen ; Hailang Wang ; Guoxin Liu ; Jin Li.
Building Cloud-ready Video Transcoding System for Content Delivery Networks(CDNs) Zhenyun Zhuang and Chun Guo Speaker: 饒展榕.
SIMPLE Presence Traffic Optimization and Server Scalability Vishal Kumar Singh Henning Schulzrinne Markus Isomaki Piotr Boni IETF 67, San Diego.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
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.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
CHAINING COSC Content Motivation Introduction Multicasting Chaining Performance Study Conclusions.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Jack Lee Yiu-bun, Raymond Leung Wai Tak Department.
Caching Strategies in Transcoding-Enabled Proxy System for Streaming Media Distribution Networks Bo Shen Sung-Ju Lee Sujoy Basu IEEE Transactions On Multimedia,
1March-04 Proxy Cache Management for Fine-Grained Scalable Video Streaming Jiangchuan Liu The Chinese University of Hong Kong Xiaowen Chu and Jianliang.
Efficient Streaming for Delay-tolerant Multimedia Applications Saraswathi Krithivasan Advisor: Prof. Sridhar Iyer.
Multimedia Proxy Caching Mechanism for Quality Adaptive Streaming Applications in the Internet Reza Rejaie Haobo Yu Mark Handley Deborah Estrin Presented.
Multimedia Proxy Caching Mechanism for Quality Adaptive Streaming Applications in the Internet R. Rejaie, H. Yu, M. Handley, D. Estrin.
Adaptive Video Streaming Over Internet Using Dynamic Video Transcoding By Lam Ling Shun, Felix.
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.
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.
Proxy Cache Management for Fine-Grained Scalable Video Streaming Jiangchuan Liu, Xiaowen Chu, and Jianliang Xu INFOCOM 2004.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Proxy-based Distribution of Streaming Video over Unicast/Multicast Connections B. Wang, S. Sen, M. Adler and D. Towsley University of Massachusetts Presented.
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.
Reza Rejaie AT&T Labs - Research1 Reza Rejaie AT&T Labs – Research Menlo Park, CA Jussi Kangasharju Institut Eurocom France NOSSDAV 2001, New York June.
1 USC INFORMATION SCIENCES INSTITUTE Proxy Caching Mechanism for Multimedia Playback Streams in the Internet R. Rejaie, M. Handley, H. Yu, D. Estrin USC/ISI.
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
Prof. Reza Rejaie Computer & Information Science University of Oregon Winter 2003 An Overview of Internet Multimedia Networking.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
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.
1 Proxy-Assisted Techniques for Delivering Continuous Multimedia Streams Lixin Gao, Zhi-Li Zhang, and Don Towsley.
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
Report : Zhen Ming Wu 2008 IEEE 9th Grid Computing Conference.
Massively Distributed Database Systems Broadcasting - Data on air Spring 2014 Ki-Joune Li Pusan National University.
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
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.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Design and Analysis of Advanced Replacement Policies for WWW Caching Kai Cheng, Yusuke Yokota, Yahiko Kambayashi Department of Social Informatics Graduate.
A Collaborative and Semantic Data Management Framework for Ubiquitous Computing Environment International Conference of Embedded and Ubiquitous Computing.
Figure 1.a AVS China encoder [3] Video Bit stream.
The MPEG-DASH Standard for Multimedia Streaming Over the Internet Chih-Hsiang Chou Advisor: Prof Dr. Ho-Ting Wu Department of Computer Science and Information.
Characterizing User Access To Videos On The World Wide Web MMCN 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Peter Parnes.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
Multimedia Proxy Caching Mechanism for Quality Adaptive Streaming Applications in The Internet Reza Rejaie, Haobo Yu, Mark Handley, and Deborah Estrin.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Proxy Caching for Streaming Media.
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.
A P2P On-Demand Video Streaming System with Multiple Description Coding Yanming Shen, Xiaofeng Xu, Shivendra Panwar, Keith Ross, Yao Wang Polytechnic University.
August 23, 2001ITCom2001 Proxy Caching Mechanisms with Video Quality Adjustment Masahiro Sasabe Graduate School of Engineering Science Osaka University.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Advisor: Mark Claypool Reader: Bob Kinicki.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
Massively Distributed Database Systems Broadcasting - Data on air Spring 2015 Ki-Joune Li Pusan National University.
Web Prefetching Lili Qiu Microsoft Research March 27, 2003.
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
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,
Proxy Caching for Streaming Media
The Impact of Replacement Granularity on Video Caching
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
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.
Evaluating Proxy Caching Algorithms in Mobile Environments
Algorithms for Selecting Mirror Sites for Parallel Download
Presentation transcript:

Proxy Caching For Multimedia Objects Project of Multimedia Course Amir Nayyeri

Overview Introduction Video Caching My Work Other Interesting Subjects Overview of Current Algorithms My Work Other Interesting Subjects Prefetching Distributed Proxies

Introduction What can a Proxy Do? How? Reducing the delay for users. Reducing the load in the Backbone. How? Prefetching Caching Popular Requests

Video Stream Caching Video Objects vs Web Objects High Data Rate, yet Adoptive Huge Volume One Hour MPEG1, about 675 MB Long Playback Duration Various Interactions Random Access Early Termination

Video Stream Caching Video Objects vs Web Objects Caching the entire object is not feasible Media Streams are not required to deliver at once We can change the bandwidth for media streams, gaining lower quality …

Video Stream Caching Three Primary Ideas: Sliding Interval Caching Prefix Caching Segment Caching

Video Stream Caching Sliding Interval Caching, Dan et all, 1996 Maintain the blocks after servicing the request. It tries to benefit from similar requests in a short period of time. 1 4 5 6 7 8 9 3 4 5 6 7 8 9 r1 r2 1 2 2 3

Video Stream Caching Prefix Caching, Sen et all. 1999 Cache the Initial Frames of the stream Many of the users terminate the video before reaching the end of it The size of the video prefix Path between the server and the proxy Client playback delay Aids Bandwidth Smoothing

Video Stream Caching Segment Caching, Wu et all, 2001 Blocks of a media object are grouped into variable-sized, distance-sensitive segments Two LRU stacks are maintained: one for initial segments, one for later segments Provides better facilities for the replacement mechanism

Video Stream Caching Common Assumptions till NOW Continuous Playback No interaction with the users Homogeneous Clients Identical Access Bandwidth Time Partitioning Only Non-Adoptive Caching

Video Stream Caching Heterogeneous Environments Users with different request types From Cell Phone to PC Maybe Different formats of the same object is requested Can benefit from Transcoding, or Layered Coding

Video Stream Caching Rajaei et all, proposed the following, 2000: On the first request of an object cache it as you receive it from the server. On later requests try to refine your database

Video Stream Caching Rajaei et all, proposed the following, 2000: If the cache is full follow this replacement strategy: Once a victim video is identified, its cached segments are flushed as presented in the figure

Video Stream Caching Tang et all, proposed the following, 2002 : They tried to benefit from transcoding Simplicity: transcode only from the full version FVO, Full Version Only, Fetching only the full version and transcode if other formats are required  High CPU Load TVO, Transcoded Version Only, Fetching all the transcoded formats from the server  High Network Load Tradeoff Use FVO with probability p TVO with Probability 1-p Adjust p according to the history of the requests

U = (L-r1)2 + (L-r2)2 + … + (L-rn)2 My Work Supporting users interactions, Random Access Considering Segments as the caching blocks rather than entire object Simple Version: Trying to get max Utility with limited initial tolerable delay, D, and proxy to server bandwidth, B. Utility Function: U = (L-r1)2 + (L-r2)2 + … + (L-rn)2 ri is the layers of the segment sent to the client for request i.

My Work Splitting the System of Caching into two main components, Queue Manager and Request Manager Request Manager sends the request from the main server to the Queue Manager Queue Manager tries to fetch more vital requests from the server sooner

Overall System Design Users RM QM Main Server

Request Manager P1 P2 … PN-1 PN Maintains a vector from Recently referenced Segments These Segments are sorted due to an estimation the probability of future accesses The Vector is divided into N parts, p1, … pN pi contains segments cached up to ith layer. P1 P2 … PN-1 PN

Request Manager Upon a request of Seg from the clients: Update the access record of Seg, and replace it in the vector Send request of not cached layers to QM Wait D Send the ready video to the client Start prefetching the future segments, if they are not already in the cache

Queue Manager Three types of requests: Time Limit: those that should be answered after a limited time, extra layers to cache. Time Limit and not needed else: like number one but they are not needed after the time limit passed, extra layers to show. Vital time limit: they should be answered on time or the system will encounter serious problems, base layer to show.

Existing Challenges The replacement function: some primary assumptions are considered like using some well-known functions like LRU … How much of the Vector should be assigned to each layer storage? How the method can be extended to heterogeneous environments? Theoretical analysis about the order of the algorithms and also about the exactness of the solution could be really valuable. Maybe other things later.

Other Interesting Subjects Distributed Proxies Prefetching

Distributed Proxies Some Proxies Working together They can be very far from each other Two main models Centralized Manager Completely Distributed Each Client sends its request to the nearest proxy, then it will serve it directly, or fetch the required object from the main server or other proxies

Prefetching Just a brief Overview Trying to anticipate the future requests from the previous logs The work of Zhong Su et al: “A Prediction System for Multimedia Prefetching in Internet”, 2000.

Prefetching (Cont) Keeping logs of users Request Predicting the probability of a special requests among the future m requests, based on the previous n requests, call it m_step n_gram model. IDEA: Different Prediction methods of AI can be used to register better results.

Prefetching (Cont) Example(3-Gram, 2-Step): Log Files: A, B, C, J, E A, B, C, E, F B, C, D, K, A B, C, D, K, B B, C, D, F, L

Prefetching (Cont) N-Gram Prediction A, B, C E(100%) Example(3-Gram, 2-Step): Log Files: A, B, C, J, E A, B, C, E, F B, C, D, K, A B, C, D, K, B B, C, D, F, L Probability Model: N-Gram Prediction A, B, C E(100%)

Prefetching (Cont) N-Gram Prediction A, B, C E(100%) B, C, D K(66%) Example(3-Gram, 2-Step): Log Files: A, B, C, J, E A, B, C, E, F B, C, D, K, A B, C, D, K, B B, C, D, F, L Probability Model: N-Gram Prediction A, B, C E(100%) B, C, D K(66%)

Thanks Any Questions?

References: [1] J. Liu, and J. Xu, “A Survey of Streaming Media Caching”, Department of Computer Science The Chinese University of Hong Kong. [2] S. Sen, J. Rexford, and D. Towsley, “Proxy prefix caching for multimedia streams,” in Proc. IEEE INFOCOM’99, New York, NY, Mar. 1999. [3] S. Chen, B. Shen, S. Wee, and X. Zhang, “Adaptive and lazy segmentation based proxy caching for streaming media delivery,” Proc. NOSSDAV’03, Monterey, CA, June 2003. [4] R. Tewari, H. M. Vin, A. Dan, and D. Sitaram, “Resource-based caching for Web servers,” in Proc. SPIE/ACM Conf. on Multimedia Computing and Networking (MMCN'98), San Jose, CA, Jan. 1998. [5] J. M. Almeida, D. L. Eager, and M. K. Vernon, “A hybrid caching strategy for streaming media files,” in Proc. Multimedia Computing and Networking (MMCN’01), San Jose, CA., Jan. 2001. [6] J. Kangasharju, F. Hartanto, M. Reisslein, and K. W. Ross, “Distributing layered encoded video through caches,” IEEE Trans. Computers, 51(6), pp. 622-636, June 2002. [7] R. Rejaie, H. Yu, M. Handley, and D. Estrin, “Multimedia proxy caching mechanism for quality adaptive streaming applications in the Internet,” in Proc. IEEE INFOCOM’00, Tel Aviv, Israel, Mar. 2000. [8] J. Liu, X. Chu, and J. Xu, “Proxy Cache Management for Fine-Grained Scalable Video Streaming,” Proc. IEEE INFOCOM'04, Hong Kong, Mar. 2004. [9] S. Podlipnig, L. Boszormenyi, “A Survey of Web Cache Replacement Strategies”, ACM Computer Science Surveys, December 2003. [10] X. Tang, F. Zhang, S. T. Chanson, “Streaming Media Caching Algorithms for Transcoding Proxies”, ACM Proceedings of the International Conference on Parallel Processing, 2002. [11] S. Acharya and B. C. Smith, “Middleman: A video caching proxy server,” in Proc. NOSSDAV’00, June 2000. [12] K. C. Tsui, J. Liu, M. J. Kaiser, “Self-Organized Load Balancing in Proxy Servers: Algorithms and Performance”, ACM Journal of Intelligent Information Systems, Volume 20, Issue 1, January 2003. [13] Brian D. Davison. (2004) Learning Web request patterns. [14] Z. Su, Q. Yang, H. Zhang, “A Prediction System for Multimedia Pre-fetching in Internet”, Proceedings of the eighth ACM international conference on Multimedia, 2000.