The Impact of Replacement Granularity on Video Caching

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

Hadi Goudarzi and Massoud Pedram
Presentation of M.Sc. Thesis Work Presented by: S. M. Farhad [ P] Department of Computer Science and Engineering, BUET Supervised by: Dr. Md. Mostofa.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
Pervasive Web Content Delivery with Efficient Data Reuse Chi-Hung Chi and Cao Yang School of Computing National University of Singapore
1 “Multiplexing Live Video Streams & Voice with Data over a High Capacity Packet Switched Wireless Network” Spyros Psychis, Polychronis Koutsakis and Michael.
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
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
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.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
Analysis of Using Broadcast and Proxy for Streaming Layered Encoded Videos Wilson, Wing-Fai Poon and Kwok-Tung Lo.
Distributed Servers Architecture for Networked Video Services S.-H. Gary Chan and Fouad Tobagi Presented by Todd Flanagan.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
Analysis of Web Caching Architectures: Hierarchical and Distributed Caching Pablo Rodriguez, Christian Spanner, and Ernst W. Biersack IEEE/ACM TRANSACTIONS.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies John Dilley and Martin Arlitt IEEE internet computing volume3 Nov-Dec 1999 Chun-Fu.
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,
Adaptive Content Management in Structured P2P Communities Jussi Kangasharju Keith W. Ross David A. Turner.
1 Probabilistic Models for Web Caching David Starobinski, David Tse UC Berkeley Conference and Workshop on Stochastic Networks Madison, Wisconsin, June.
Distributed Servers Architecture for Networked Video Services S. H. Gary Chan, Member IEEE, and Fouad Tobagi, Fellow IEEE.
Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.
Proxy-based Distribution of Streaming Video over Unicast/Multicast Connections B. Wang, S. Sen, M. Adler and D. Towsley University of Massachusetts Presented.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
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.
Web Caching Robert Grimm New York University. Before We Get Started  Illustrating Results  Type Theory 101.
SAIU: An Efficient Cache Replacement Policy for Wireless On-demand Broadcasts Jianliang Xu, Qinglong Hu, Dik Lun Department of Computer Science in HK University.
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
Caching And Prefetching For Web Content Distribution Presented By:- Harpreet Singh Sidong Zeng ECE Fall 2007.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
Proxy-based Distribution of Streaming Video over Unicast/Multicast Connections Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley Umass CMPSCI Tech.
Loopback: Exploiting Collaborative Caches for Large-Scale Streaming Ewa Kusmierek, Yingfei Dong, Member, IEEE, and David H. C. Du, Fellow, IEEE.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Can Internet Video-on-Demand Be Profitable? SIGCOMM 2007 Cheng Huang (Microsoft Research), Jin Li (Microsoft Research), Keith W. Ross (Polytechnic University)
1 Proxy-Assisted Techniques for Delivering Continuous Multimedia Streams Lixin Gao, Zhi-Li Zhang, and Don Towsley.
Achieving Load Balance and Effective Caching in Clustered Web Servers Richard B. Bunt Derek L. Eager Gregory M. Oster Carey L. Williamson Department of.
Storage Allocation in Prefetching Techniques of Web Caches D. Zeng, F. Wang, S. Ram Appeared in proceedings of ACM conference in Electronic commerce (EC’03)
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
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.
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.
Understanding the Performance of Web Caching System with an Analysis Model and Simulation Xiaosong Hu Nur Zincir-Heywood Sep
《 Hierarchical Caching Management for Software Defined Content Network based on Node Value 》 Reporter : Jing Liu , China Affiliation : University of Science.
Multicache-Based Content Management for Web Caching Kai Cheng and Yahiko Kambayashi Graduate School of Informatics, Kyoto University Kyoto JAPAN.
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.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Proxy Caching for Streaming Media.
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.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
Network and Systems Laboratory nslab.ee.ntu.edu.tw Yipeng Zhou, Dah Ming Chiu, and John C.S. Lui Information Engineering Department The Chinese University.
Video Caching in Radio Access network: Impact on Delay and Capacity
On the scale and performance of cooperative Web proxy caching 2/3/06.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VIII Web Performance Modeling (Book, Chapter 10)
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Stepping Stone Detection at The Server Side
Authors: Jiang Xie, Ian F. Akyildiz
Department of Computer Science University of Calgary
Golrezaei, N. ; Molisch, A.F. ; Dimakis, A.G.
Proxy Caching for Streaming Media
Authors: Sajjad Rizvi, Xi Li, Bernard Wong, Fiodar Kazhamiaka
Video On Demand.
Edge computing (1) Content Distribution Networks
Peer-to-Peer Video Services
Presentation transcript:

The Impact of Replacement Granularity on Video Caching Elias Balafoutis, Antonis Panagakis, Nikolaos Laoutaris and Ioannis Stavrakakis Computer Networks Laboratory Department of Informatics & Telecommunications University of Athens, Greece

Overview Introduction An Intuitive (or simplistic) Approach System Architecture Proposed Scheme Simulation Future Work

Introduction Network Caching: Bring content close to demand points Caching benefits: Reduce access latency Reduce network traffic Reduce server load Increase content availability Rapid of growth of Multimedia applications over internet Video Caching becomes particularly important

Video Caching Video Peculiarities Large Size Rate Variability Structure Large Size and Structure inspired Partial Video Caching Partial Caching Prefix Caching Sliding Window No existing partial caching schemes in which cache contents are dynamically updated based on demand

An Intuitive (Simplistic?) Approach Assumptions Two objects, One cache p1, p2 : request probabilities for objects 1 and 2 respectively Request interarrival time > download time (i.e. replacement procedure is completed before the arrival of a new request) Two Scenarios Scenario 1 : Partial Caching is not allowed Replacement unit: A complete object Scenario 2: Partial Caching is allowed Replacement unit: Half an object

An Intuitive (Simplistic?) Approach Scenario 2: Three possible states Object 1 is in the cache Object 2 is in the cache Half of each object is in the cache Cost on Cache Miss: 1 Cost on partial Cache Hit: 0.5 Total Cost: Scenario 1: Two possible states Object 1 is in the cache Object 2 is in the cache Cost on Cache Miss: 1 Total Cost: C1 ≥ C2

System Description Clients request videos from a group of servers All servers and all videos have equal access costs A proxy server is installed in a Local Area Network There is abundant bandwidth in the LAN to support video streaming Client requests are directed to the proxy The proxy caches the most popular videos trying to reduce the requests that reach the server.

Internal Proxy Architecture Request manager Schedules the transmission of the prefix (if any) Forwards request for the suffix to the origin server Cache manager (the focus of this work) Allocates the storage resources to the requested videos Note Request pattern at the cache manager (and at the server) is different, in general, from the request pattern at the request manager (for example batching of request could be used)

Cache Manager Receives the missing segments of the requested video from the server and decides: How much space to dedicate to the video Which of the missing parts to cache Which data to remove from the cache to make room for the new data. (Replacement Algorithm) In traditional web-like caching schemes, only the replacement algorithm needs to be determined.

Optimal Static Policy Assumptions Partial Knapsack problem N videos Known popularity ranking (i.e. p1>p2 … > pN) All Videos have the same size V Cache Size : S Cache portion for video i: ci Static Policy: No replacement is performed Performance metric: Byte Hit Ratio Partial Knapsack problem Maximize given that Optimal solution: Highest Popularity First (HPF) Highest Popularity First The most popular object are cached until capacity is reached. Only the last vide may be partially cached (the least popular that fits in the cache)

Proposed Scheme The Cache Manager uses a fixed Replacement Unit smaller than a complete video (Chunk) When the requested video is not in the cache (Cache Miss) It’s initial segment with the size of one chunk are stored in the cache The replacement algorithm selects a video for removal. The last segment of the selected video with the size of one Chunk are removed For each additional request for the same Video (Cache Hit or partial Hit) An additional (consecutive) chunk is being cached In that way, only prefixes (initial consecutive parts) of its video are cached. The size of the chunk determines the replacement granularity and it is a design parameter

Simulation Model (1/3) Performance Metrics Byte Hit Ratio For each request: BHR(x): Average BHRi on an interval x (x: number of requests or a time interval) Steady State BHR (ss-BHR) = BHR(x), for large x, assuming that no popularity changes occur in x. Responsiveness The ability of the system to adapt to changes in popularity. The time needed for BHR to reach 90% of its steady state value, starting with an empty cache.

Simulation Model (2/3) Request Pattern Request Distribution Independent Reference Model : Each video i, is requested with probability pi, independently of previous requests Request Distribution Zipf-like distribution: Arrival Pattern Poisson with mean rate λ Modeling of popularity changes Transposition of the Zipf-like request distribution

Simulation Model (3/3) Simulation Parameters System Parameters Default Values Video Size / Duration 1000 units / 1 hour Cache Size 100 videos Number of available videos 1000 Relative Cache Size 10% Zipf parameter 0.8 Request arrival rate 30 req/hour

Simulation Results Cache State The effect of Cache Size The effect of Popularity Distribution The effect of Chunk Size in Steady State BHR The effect of Chunk Size in Response Time BHR under changes in popularities Dynamic Regulation of the Chunk size

Cache State Assumptions Small Chunk Size Large Chunk Size 5 videos Zipf popularities The cache is initially empty Optimal Static Allocation (HPF) Chunk Size = 2 units Chunk Size = 100 units Small Chunk Size Long transient period Steady state similar to the optimal Large Chunk Size Short transient period Large oscillations around optimal state

The effect of Cache Size

The effect of Popularity Distribution

The effect of Chunk Size in Steady State BHR Small Chunk Size => higher BHR

The effect of Chunk Size in Response Time Small Chunk Size => higher BHR => very large response time

BHR under changes in popularities Rare popularity changes Small Chunk Size => Higher Average BHR Often popularity changes Large Chunk Size => Higher Average BHR

Dynamic Regulation of the Chunk size Main Idea Use small chunk at periods were BHR is stable (popularity remains the same) Switch to a larger chunk size, when BHR reduces (a change in popularity occurs) Switch back to a small chunk size, when steady state has been reached

BHR under changes in popularities (revisited) Rare popularity changes Dynamic Chunk Selection => Higher Average BHR Often popularity changes

Future work Study alternative segmentation schemes of video into chunks Different chunk size for each video Variable chunk sizes Exploit segment based caching to differentiate based on: Server-Proxy distance Link costs Content provider requests