October 25, 2001Stanford Networking Seminar Aging Through Cascaded Caches: Performance Issues in the Distribution of Web Content. Edith Cohen AT&T Labs-research.

Slides:



Advertisements
Similar presentations
Inktomi Confidential and Proprietary The Inktomi Climate Lab: An Integrated Environment for Analyzing and Simulating Customer Network Traffic Stephane.
Advertisements

A Survey of Web Cache Replacement Strategies Stefan Podlipnig, Laszlo Boszormenyl University Klagenfurt ACM Computing Surveys, December 2003 Presenter:
G. Alonso, D. Kossmann Systems Group
Computer Science Lecture 14, page 1 CS677: Distributed OS Consistency and Replication Today: –Introduction –Consistency models Data-centric consistency.
USITS ‘01 The Age Penalty and its effect on cache performance Edith Cohen AT&T Labs-Research Haim Kaplan Tel-Aviv University Presenting: Edith Cohen.
1 10 Web Workload Characterization Web Protocols and Practice.
Caching Strategies in Transcoding-Enabled Proxy System for Streaming Media Distribution Networks Bo Shen Sung-Ju Lee Sujoy Basu IEEE Transactions On Multimedia,
1 11 Web Caching Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB CACHING  Cache Definition  Goals of Web Caching  Motivations for.
1 Caching in HTTP Representation and Management of Data on the Internet.
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
The Effect of Consistency on Cache Response Time John Dilley and HP Laboratories IEEE Network, May-June 2000 Chun-Fu Kung System Laboratory Dept. of Computer.
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
Synchronizing a Database To Improve Freshness Junghoo Cho Hector Garcia-Molina Stanford University.
1 The Content and Access Dynamics of a Busy Web Server: Findings and Implications Venkata N. Padmanabhan Microsoft Research Lili Qiu Cornell University.
Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads.
What’s a Web Cache? Why do people use them? Web cache location Web cache purpose There are two main reasons that Web cache are used:  to reduce latency.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
Web Caching Robert Grimm New York University. Before We Get Started  Interoperability testing  Type theory 101.
Internet Networking Spring 2002 Tutorial 13 Web Caching Protocols ICP, CARP.
Web Caching Robert Grimm New York University. Before We Get Started  Illustrating Results  Type Theory 101.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Evaluation of the Proximity between Web Clients and their Local DNS Servers Z. Morley Mao UC Berkeley C. Cranor, M. Rabinovich,
Caching And Prefetching For Web Content Distribution Presented By:- Harpreet Singh Sidong Zeng ECE Fall 2007.
Web Caching and CDNs March 3, Content Distribution Motivation –Network path from server to client is slow/congested –Web server is overloaded Web.
The Medusa Proxy A Tool For Exploring User- Perceived Web Performance Mimika Koletsou and Geoffrey M. Voelker University of California, San Diego Proceeding.
Content Networking - CON Content Overlay Network Vishal Kumar Singh Eilon Yardeni April, 28 th 2005.
Caching and Content Distribution Networks. Web Caching r As an example, we use the web to illustrate caching and other related issues browser Web Proxy.
1 Caching  Temporary storage of frequently accessed data (duplicating original data stored somewhere else)  Reduces access time/latency for clients 
1 3 Web Proxies Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB PROXIES  Web Proxy Definition  Three of the Most Common Intermediaries.
Krerk Piromsopa. Web Caching Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.
Web Caching: Replication on the World Wide Web Jonathan Bulava CSC8530 – Distributed Systems Dr. Paul Schragger.
SAINT ‘01 Proactive DNS Caching: Addressing a Performance Bottleneck Edith Cohen AT&T Labs-Research Haim Kaplan Tel-Aviv University.
Web Caching Dr. Yingwu Zhu. What is Web Caching Introducing proxy servers at certain points in the network that serve in caching Web documents for faster.
System Administration and Maintenance. Proxy Server 1 Purpose – – To separate internal network from internet (NAT) To cache often used content User control:
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
User-Perceived Latency zLong perceived latency is the most serious WWW performance problem The delay from the time a request is issued until response is.
POSTER TEMPLATE BY: Whitewater HTTP Vulnerabilities Nick Berry, Joe Joyce, & Kevin Vaccaro. Syntax & Routing Attempt to capture.
Web Caching and Content Distribution: A View From the Interior Syam Gadde Jeff Chase Duke University Michael Rabinovich AT&T Labs - Research.
ECO-DNS: Expected Consistency Optimization for DNS Chen Stephanos Matsumoto Adrian Perrig © 2013 Stephanos Matsumoto1.
Understanding the Performance of Web Caching System with an Analysis Model and Simulation Xiaosong Hu Nur Zincir-Heywood Sep
Refreshment Policies for Web Content Caches Edith Cohen AT&T Labs-Research Haim Kaplan Tel-Aviv University Presenting: Edith Cohen.
Introduction to DFS. Distributed File Systems A file system whose clients, servers and storage devices are dispersed among the machines of a distributed.
1 Lifetime Behavior and its Impact on Web Caching X. Chen and P. Mohapatra, IEEE Workshop on Internet Applications (WIAPP), 김호중, CA Lab. Site 별,
1 Caching in HTTP Representation and Management of Data on the Internet.
World Wide Web Caching CS457 Seminar Yutao Zhong 11/13/2001.
HTTP support for caching & replication. Conditional requests Server executes conditional request. Responds with a message body only if the condition is.
Web Cache Consistency. “Requirements of performance, availability, and disconnected operation require us to relax the goal of semantic transparency.”
Computer Science Lecture 14, page 1 CS677: Distributed OS Last Class: Concurrency Control Concurrency control –Two phase locks –Time stamps Intro to Replication.
On The Cooperation of Web Clients and Proxy Caches Yiu Fai Sit, Francis C.M. Lau, Cho-Li Wang Department of Computer Science The University of Hong Kong.
Performance of Web Proxy Caching in Heterogeneous Bandwidth Environments IEEE Infocom, 1999 Anja Feldmann et.al. AT&T Research Lab 발표자 : 임 민 열, DB lab,
HTTP evolution - TCP/IP issues Lecture 4 CM David De Roure
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
An Overview of Proxy Caching Algorithms Haifeng Wang.
Computer Networks with Internet Technology William Stallings Chapter 04 Modern Applications 4.1 Web Access - HTTP.
1 COMP 431 Internet Services & Protocols HTTP Persistence & Web Caching Jasleen Kaur February 11, 2016.
System Software Lab. A Scalable Web Cache Consistency Architecture Kim Sangyup SSLAB. EE. KAIST SIGCOMM ’ 99 Haobo Yu, Lee Breslau.
Overview on Web Caching COSC 513 Class Presentation Instructor: Prof. M. Anvari Student name: Wei Wei ID:
The Distributed Object Consistency Protocol Version 1.0 John Dilley, Martin Arlitt, Stephane Perret, Tai Jin Hewlett-Packard Laboratories Palo Alto, CA.
Presented by Michael Rainey South Mississippi Linux Users Group
CS6320 – Performance L. Grewe.
HTTP request message: general format
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
The Impact of Replacement Granularity on Video Caching
Web Caching? Web Caching:.
Internet Networking recitation #12
Operational Dataset Update Functionality Included in the NCAR Research Data Archive Management System Zaihua Ji Doug Schuster Steven Worley Computational.
CSE 461 HTTP and the Web.
Group 3: Olena Hunsicker and Divya Josyula
Network Traffic Modeling
Presentation transcript:

October 25, 2001Stanford Networking Seminar Aging Through Cascaded Caches: Performance Issues in the Distribution of Web Content. Edith Cohen AT&T Labs-research Haim Kaplan Tel-Aviv University

October 25, 2001Stanford Networking Seminar HTTP Freshness Control Cached copies have: –Freshness lifetime –Age (elapsed time since fetched from origin) TTL (Time to Live) = freshness lifetime – age Expired copies must be validated before they can be used (request constitutes a ”cache miss”). Body (content) header Cache-directives

October 25, 2001Stanford Networking Seminar Aging of Copies Origin server Freshness Lifetime = 10 hours Age = 0 TTL = 10 8:00am

October 25, 2001Stanford Networking Seminar Aging of Copies Origin server Freshness Lifetime = 10 hours Age = 1 TTL = 9 9:00am 12:00pm Age = 4 TTL = 6 3:00pm Age = 7 TTL = 3

October 25, 2001Stanford Networking Seminar Aging of Copies Origin server Freshness Lifetime = 10 hours 6:00pm Age = 10 TTL = 0

October 25, 2001Stanford Networking Seminar Aging thru Cascaded Caches reverse-proxy cache origin server 8:00am proxy caches Age = 0 TTL = 10

October 25, 2001Stanford Networking Seminar 5:00pm Age = 9 TTL = 1 Aging thru Cascaded Caches reverse-proxy cache origin server proxy caches

October 25, 2001Stanford Networking Seminar 6:00pm Aging thru Cascaded Caches reverse-proxy cache origin server proxy caches Age = 10 TTL = 0

October 25, 2001Stanford Networking Seminar 6:00pm Aging thru Cascaded Caches reverse-proxy cache origin server proxy caches Age = 0 TTL = 10

October 25, 2001Stanford Networking Seminar TTL of a Cached Copy Freshness -lifetime t TTL Requests at client cache: From Origin MM From CacheMMM

October 25, 2001Stanford Networking Seminar Age-Induced Performance Issues for Cascaded Caches Caches are often cascaded (path between web server and end-user includes 2 or more caches.). Copies obtained thru a cache are less effective than copies obtained thru an origin server.Copies obtained thru a cache are less effective than copies obtained thru an origin server. Reverse proxies increase validation traffic !! Reverse proxies increase validation traffic !! More misses at downstream caches mean: – Increased traffic between cascaded caches. – Increased user-perceived latency.

October 25, 2001Stanford Networking Seminar Research Questions How does miss-rate depend on the configuration of upstream cache(s) and on request patterns ? Can upstream caches improve performance by proactively reducing content age ? how? Can downstream caches improve performance by better selection or use of a source? Request sequences: Arbitrary, Poisson, Pareto, fixed-frequency, Traces. Models for Cache/Source/Object relation: Authoritative, Independent, Exclusive. Our analysis:

October 25, 2001Stanford Networking Seminar Basic Relationship Models cache/source/object Authoritative: “Origin server:” 0 age copies. Exclusive: all misses directed to the same cache. Independent: each miss is directed to a different independent upstream cache. Cache-3Cache-2 Cache-1 Cache-BCache-ACache-CCache-D

October 25, 2001Stanford Networking Seminar Basic Models… Theorem: On all sequences, the number of misses obeys: Authoritative < Exclusive < Independent Authoritative age(t) = 0 Exclusive age(t) = T - (t+ a ) mod T Independent age(t) e U[0,T] Object has fixed freshness-lifetime of T. Miss at time t results in a copy with age: Theorem: Exclusive < 2*Authoritative Independent < e*Authoritative

October 25, 2001Stanford Networking Seminar TTL of “Supplied” Copy Freshness -lifetime t TTL Requests Received at source: Exclusive Authoritative Independent Source:

October 25, 2001Stanford Networking Seminar How Much More Traffic? Log\Model AuthoritativeExclusiveIndependent NLANR UC47%55%57% NLANR SD52%60%62% Miss-rate for different configurations

October 25, 2001Stanford Networking Seminar Rejuvenation at Source Caches Rejuvenation: refresh your copy pre-term once its TTL drops below a certain fraction v of the Lifetime duration. t TTL Requests at client: 24h 12h v=0.5 no rejuv. source client

October 25, 2001Stanford Networking Seminar Rejuvenation’s Basic Tradeoff: Is increase/decrease monotone in V (?) Increases traffic between upstream cache and origin (fixed cost) origin Upstream cache Downstream Client caches Decreases traffic to client caches (larger gain with more clients)

October 25, 2001Stanford Networking Seminar Interesting Dependence on V… Independent(v) <> Exclusive(v) Independent(v) is monotone: if v1 > v2, Independent(v1) > Independent(v2) Exclusive(v) is not monotone (miss-rate can increase !!) Integral 1/v (synchronized rejuvenation): Exclusive(v) < Independent(v) and is monotone (Pareto, Poisson, not with fixed- frequency).

October 25, 2001Stanford Networking Seminar

October 25, 2001Stanford Networking Seminar

October 25, 2001Stanford Networking Seminar How Can Non-integral 1/v Increase Client Misses? Freshness -lifetime t TTL Upstream Cache Downstream Client Cache Copy at client is not synchronized with source. When it expires, the rejuv source has an aged copy. Requests at Client cache: Pre-term refreshes

October 25, 2001Stanford Networking Seminar Why Integral 1/v Works Well? Freshness -lifetime t TTL Upstream Cache Cached copies remain synchronized Requests at Upstream cache: Downstream Client Cache Pre-term refreshes v=0.5

October 25, 2001Stanford Networking Seminar Some Conclusions Configuration: Origin (“Authoritative”) is best. Otherwise, use a consistent upstream cache per object (“Exclusive”). “No-cache” request headers: resulting sporadic refreshes may increase misses at other client caches. (But it is possible to compensate…). Rejuvenation: potentially very effective, but a good parameter setting (synchronized refreshes) is crucial. Behavior patterns: Similar for Poisson, Pareto, traces, (temporal locality). Different for fixed-frequency. For more go to Full versions of: Cohen, Kaplan SIGCOMM 2001 Cohen, Halperin, Kaplan, ICALP 2001