0% found this document useful (0 votes)
41 views20 pages

Proxy-Based Acceleration of Dynamically Generated Content On The World Wide Web: An Approach and Implementation

This document proposes a dynamic proxy caching approach to improve performance of dynamically generated web content. The approach involves fragmenting dynamic pages into reusable components stored in a proxy cache. A back-end monitor generates page layouts and the proxy assembles the final response from cached fragments. Analytical models show bandwidth savings increase as fragment size and cache hit ratio grow. There are limitations involving request routing, cache coherency, management and scalability for a forward proxy implementation.

Uploaded by

intisar ibrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views20 pages

Proxy-Based Acceleration of Dynamically Generated Content On The World Wide Web: An Approach and Implementation

This document proposes a dynamic proxy caching approach to improve performance of dynamically generated web content. The approach involves fragmenting dynamic pages into reusable components stored in a proxy cache. A back-end monitor generates page layouts and the proxy assembles the final response from cached fragments. Analytical models show bandwidth savings increase as fragment size and cache hit ratio grow. There are limitations involving request routing, cache coherency, management and scalability for a forward proxy implementation.

Uploaded by

intisar ibrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 20

Proxy-Based Acceleration of

Dynamically Generated Content


on the World Wide Web: An
Approach and Implementation

Anindya Dutta et al
WEB CACHING SOLUTIONS
BACKGROUND

BACK-END CACHING
PROXY-BASED CACHING
BACK-END CACHING

DATABASE CACHING(OR RESULTS OF


QUERIES)
PRESENTATION LAYER CACHING
(CACHE HTML FRAGMENTS)
COMPONENT LEVEL CACHING(CACHE
ARBITRARY OBJECTS)
PROXY-BASED CACHING

Page Level Caching


Both at forward and backward proxy
Improves
– Delays associated with generation of content
– Packet filtering
– Bandwidth
DRAWBACKS
URL BASED CACHING INCORRECT
PAGES.
VERY LITTLE REUSABILITY OF FULL
HTML PAGES(PERSONIZATION)
INVALIDATION
DYNAMIC PAGE ASSEMBLY
DYNAMIC WEB PAGE APPROACH
ESTABLISH A TEMPLATE FOR EACH
DYNAMICALLY GENERATED PAGE
EACH PAGE IS FACTORED INTO A
NUMBER OF FRAGMENTS
ASSEMBLE FRAGMENT HTML AT
PROXY
DRAWBACKS

CHANGE THE DESIGN OF


WEBSITE(USE ONLY TEMPLATES)

NO SEMANTIC INTERDEPENCE
BETWEEN FRAGMENTS
AIM
“Holy GRALE” of content caching has being
a solution that can provide both bandwidth
Saving, like proxy-based approaches and
as well as server-side acceleration.
DYNAMIC PROXY CACHE
OUTSIDE SITE’S INFRA (reverse-
PROXY) OR AT NETWORK EDGE
STORES CONTENT FRAGMENTS
BEM(BACK END MONITOR)
GENERATES THE LAYOUT
FORWARD-PROXY
– Request routing
– Cache coherency
GRANULAR PROXY BASED CACHING
CACHE DYNAMIC CONTENT
FRAGMENT ON THE PROXY CACHE
LAYOUT INFORMATION FROM SOURCE
SITE
QUERY TO DYNAMIC PROXY
PUSH INTO SERVER
SERVER RESPONDS WITH LAYOUT
Technical Details
SYSTEM INITIALIZATION
– Identify fragments and Tag them
RUN-TIME OPERATION
– Example
– http://.../catalog.jsp?categoryID=fiction
– Lookup fragID in BEMs cache dir
– Insert GET /SET in the code
Back End Monitor
MANAGE DPC CACHE
– cache directory
– Frags of DPC and metadata(ID,Key,valid,ttl)
– Invalid fragment??
CACHE INTERMEDIATE OBJECTS
ANALYTICAL RESULTS
Comparing average bytes served = B
B = sum(Sci x n(t))
ncSci = sum(Sei) + f
cSci = sum(Xj[(hxg) + (1-h)(sei + 2g)] + (1-
Xj)(sei) + f]
Plot ratio cB/ncB with fragment size
Vary hit ratio and observe
Hit Ratio V/s Saving in Bytes
Cost Due to Cache
No cache scan cost = ncB * y
Cache Scan cost = cB*2y
ncB > 2cB
“It is preferable to dynamic proxy cache
when the expected bytes served with no
cache are more than the twice the
expected bytes served with cache”
LIMITATIONS
For forward proxy cache
– Request Routing
– Cache Coherency
– Cache Management
– Scalability

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy