Dynamic-Content Web Caching with Cooperative Proxy Scheme Βελισκάκης Μανώλης Εθνικό Μετσόβιο Πολυτεχνείο Dept. of Electrical & Computer Engineering Knowledge.

Slides:



Advertisements
Similar presentations
DDI3 Uniform Resource Names: Locating and Providing the Related DDI3 Objects Part of Session: DDI 3 Tools: Possibilities for Implementers IASSIST Conference,
Advertisements

Cooperative Caching of Dynamic Content on a Distributed Web Server Vegard Holmedahl, Ben Smith, Tao Yang Speaker: SeungLak Choi, DB Lab., CS Dept.
Small-world Overlay P2P Network
Spring 2003CS 4611 Content Distribution Networks Outline Implementation Techniques Hashing Schemes Redirection Strategies.
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.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
Dept. of Computer Science & Engineering, CUHK1 Trust- and Clustering-Based Authentication Services in Mobile Ad Hoc Networks Edith Ngai and Michael R.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
Proxy Cache Engine Performed by:Artyom Borzin Stas Lapchev Stas Lapchev Instructor: Hen Broodney In cooperation with Magnifier Ltd. הטכניון - מכון טכנולוגי.
1 COACS: A Cooperative and Adaptive Caching System for MANETs Hassan Artail, Member, IEEE, Haidar Safa, Member, IEEE, Khaleel Mershad,Zahy Abou-Atme, Student.
Java-Based Adaptive Web Caching CS-526 Fall 2002 Semester Project G. Williams.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies John Dilley and Martin Arlitt IEEE internet computing volume3 Nov-Dec 1999 Chun-Fu.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
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,
3-1 Chapter 3 Data and Knowledge Management
An Authentication Service Against Dishonest Users in Mobile Ad Hoc Networks Edith Ngai, Michael R. Lyu, and Roland T. Chin IEEE Aerospace Conference, Big.
Database caching in MANETs Based on Separation of Queries and Responses Author: Hassan Artail, Haidar Safa, and Samuel Pierre Publisher: Wireless And Mobile.
Internet Cache Pollution Attacks and Countermeasures Yan Gao, Leiwen Deng, Aleksandar Kuzmanovic, and Yan Chen Electrical Engineering and Computer Science.
A Survey of proxy Cache Evaluation Techniques 系統實驗室 田坤銘
Internet Networking Spring 2002 Tutorial 13 Web Caching Protocols ICP, CARP.
1 Seminar: Information Management in the Web Gnutella, Freenet and more: an overview of file sharing architectures Thomas Zahn.
Introduction Web Development II 5 th February. Introduction to Web Development Search engines Discussion boards, bulletin boards, other online collaboration.
1Bloom Filters Lookup questions: Does item “ x ” exist in a set or multiset? Data set may be very big or expensive to access. Filter lookup questions with.
Web Caching Schemes For The Internet – cont. By Jia Wang.
1 The Mystery of Cooperative Web Caching 2 b b Web caching : is a process implemented by a caching proxy to improve the efficiency of the web. It reduces.
1/25/2000 Active Names: Flexible Location and Transport of Wide-Area Resources Luis Rivera.
Client-Server Processing and Distributed Databases
Construction of efficient PDP scheme for Distributed Cloud Storage. By Manognya Reddy Kondam.
Achieving Load Balance and Effective Caching in Clustered Web Servers Richard B. Bunt Derek L. Eager Gregory M. Oster Carey L. Williamson Department of.
AN OPTIMISTIC CONCURRENCY CONTROL ALGORITHM FOR MOBILE AD-HOC NETWORK DATABASES Brendan Walker.
Design and Implement an Efficient Web Application Server Presented by Tai-Lin Han Date: 11/28/2000.
1 Cache Me If You Can. NUS.SOC.CS5248 OOI WEI TSANG 2 You Are Here Network Encoder Sender Middlebox Receiver Decoder.
AMNESIA: Analysis and Monitoring for NEutralizing SQL- Injection Attacks Published by Wiliam Halfond and Alessandro Orso Presented by El Shibani Omar CS691.
Web Cache Replacement Policies: Properties, Limitations and Implications Fabrício Benevenuto, Fernando Duarte, Virgílio Almeida, Jussara Almeida Computer.
Company LOGO mDNS (ICM3400) Proposal for Hierarchical Multicast Session Directory Architecture Piyush Harsh & Richard Newman.
Implicit An Agent-Based Recommendation System for Web Search Presented by Shaun McQuaker Presentation based on paper Implicit:
1 Applying Collaborative Filtering Techniques to Movie Search for Better Ranking and Browsing Seung-Taek Park and David M. Pennock (ACM SIGKDD 2007)
A. Cavalli - F. Semeria INFN Experience With Globus GIS 1 A. Cavalli - F. Semeria INFN First INFN Grid Workshop Catania, 9-11 April 2001 INFN Experience.
Web Caching By Neeraj Agrawal. Caching Caching is widely used for improving performance in many context( e.g processor caches in hardware, buffer pool.
Chapter 6 Server-side Programming: Java Servlets
Locating Mobile Agents in Distributed Computing Environment.
Understanding the Performance of Web Caching System with an Analysis Model and Simulation Xiaosong Hu Nur Zincir-Heywood Sep
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.
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.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
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.
DHT-based unicast for mobile ad hoc networks Thomas Zahn, Jochen Schiller Institute of Computer Science Freie Universitat Berlin 報告 : 羅世豪.
Multimedia Information System Lab. Network Architecture Res. Group Cooperative Video Streaming Mechanisms with Video Quality Adjustment Naoki Wakamiya.
Evaluating Content Management Techniques for Web Proxy Caches Martin Arlitt, Ludmila Cherkasova, John Dilley, Rich Friedrich and Tai Jin Proceeding on.
ICP and the Squid Web Cache Duane Wessels and K. Claffy 산업공학과 조희권.
Scalable Hybrid Keyword Search on Distributed Database Jungkee Kim Florida State University Community Grids Laboratory, Indiana University Workshop on.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
Energy-Efficient Data Caching and Prefetching for Mobile Devices Based on Utility Huaping Shen, Mohan Kumar, Sajal K. Das, and Zhijun Wang P 邱仁傑.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
Full-Text Support in a Database Semantic File System Kristen LeFevre & Kevin Roundy Computer Sciences 736.
An Overview of Proxy Caching Algorithms Haifeng Wang.
Soon Joo Hyun Database Systems Research and Development Lab. US-KOREA Joint Workshop on Digital Library t Introduction ICU Information and Communication.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
A Semantic Caching Method Based on Linear Constraints Yoshiharu Ishikawa and Hiroyuki Kitagawa University of Tsukuba
/ Fast Web Content Delivery An Introduction to Related Techniques by Paper Survey B Li, Chien-chang R Sung, Chih-kuei.
Computer Science Department 1 Studying the Impact of More Complete Server Information on Web Caching Craig E. Wills and Mikhail Mikhailov Worcester Polytechnic.
Differential Analysis on Deep Web Data Sources Tantan Liu, Fan Wang, Jiedan Zhu, Gagan Agrawal December.
SOURCE:2014 IEEE 17TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING AUTHER: MINGLIU LIU, DESHI LI, HAILI MAO SPEAKER: JIAN-MING HONG.
Search Engine Optimization
CHAPTER 3 Architectures for Distributed Systems
Do it now – PAGE 11 You will find your do it now task in your workbook – look for the start button! Wednesday, 21 November 2018.
Storing and Replication in Topic-Based Pub/Sub Networks
Your computer is the client
Presentation transcript:

Dynamic-Content Web Caching with Cooperative Proxy Scheme Βελισκάκης Μανώλης Εθνικό Μετσόβιο Πολυτεχνείο Dept. of Electrical & Computer Engineering Knowledge and Database Systems Laboratory Συνάντηση DBLAB Τρίτη, 20 Ιανουαρίου 2004

Outline Problem Definition Problem Definition Dynamic-Data Web Caching vs Cooperative Schemes Dynamic-Data Web Caching vs Cooperative Schemes Proposed Web Caching Algorithm Proposed Web Caching Algorithm Current and Future Work Current and Future Work Discussion Discussion

Problem Definition – What?  Query Results  Dynamic Data for personalization purposes

Problem Definition – Where?  Client  Proxy  Edge-of-net  Internet Service Provider  Edge-of-Enterprise  Application Server  Web Server  DBMS

Problem Definition – How? Nowadays Approaches  Exact matching query  Materialized Views  DB Characteristics to Proxies

Problem Definition – Topology Scheme  Broadcast queries  Hierarchical Caching  URL Hashing  Directory based Cooperation

Problem Definition - Issues Replacement Policy Replacement Policy Cache Consistency Cache Consistency Proxy Communication Proxy Communication Web objects placement Web objects placement

Dynamic-Data Web Caching vs Cooperative Schemes  Exact matching query  Materialized Views  DB Characteristics to Proxies  Broadcast queries  Hierarchical Caching  URL Hashing  Directory based Cooperation Replacement Policy Replacement Policy Proxy Communication Proxy Communication Web objects placement Web objects placement

Dynamic-Data Web Caching vs Cooperative Schemes Conclusions (?) Exact Matching Query Exact Matching Query –Common Web Caching Issues –Not interesting DB Characteristics to Proxies DB Characteristics to Proxies –Common DB Replication Issues –Interesting Issue: Create Cache Tables knowing that there is a cooperative proxy Scheme

Dynamic-Data Web Caching vs Cooperative Schemes Conclusions (?) Materialized Views Materialized Views –Many interesting issues Query rewriting Query rewriting Replacement Algorithm Replacement Algorithm Appropriate Cooperative Scheme Appropriate Cooperative Scheme Web Objects exchange between Proxies Web Objects exchange between Proxies Consideration of DBMS structure Consideration of DBMS structure Dynamic or a priori definition of Materialized Views Dynamic or a priori definition of Materialized Views Giving DB capabilities to Proxies (queries on Materialized Views) Giving DB capabilities to Proxies (queries on Materialized Views) Communication between Proxies Communication between Proxies

Proposed Web Caching Algorithm – Hybrid Topology (Hierarchical-Directory Based) PROXY 1b DIRECTORY Q.M CACHE PROXY 2b DIRECTORY Q.M CACHE PROXY 1c DIRECTORY Q.M CACHE PROXY 1a CLCLIIENTSENTSCLCLIIENTSENTSI DIRECTORY Q.M CACHE PROXY 2c DIRECTORY Q.M CACHE PROXY 2a C LI E N T S DIRECTORY Q.M CACHE WEB SERVER DATABASESERVER DATABASE SERVER

Proposed Web Caching Algorithm – Web Objects description There are 3 different ways to refer to a Web Object There are 3 different ways to refer to a Web Object –URL –QTag –QTag+Query Result (Whole Web Object)

Proposed Web Caching Algorithm – Web Objects description QTAG<QTag ID:Number, //Unique identifier for every QTag Query:String, //Contains the query that has been asked to the Back-End Database LocationOfWebServer:URL, //Contains the URL Location of the Web Server that stands in front of the Database DatabaseID:Number,//Contains the ID of the Database where the query was asked TimeToLive:Number (sec), //Determines the period in which the query is valid and can satisfy Requests Weight:Number,//Determines the significance (Weight) of the query. Relationships:List of QTag.ID //Determines a list of Web Objects that are frequently used with the current Web Object in order to satisfy query requests />

Proposed Web Caching Algorithm – Web Objects description QTAG + Query Results <QTagID= , Query=”Select name, surname, age from Customers where Name=’John’”, LocationOfWebServer =” DatabaseID =1, TimeToLive=1000, Weight=0.65 Relationships=” , , , /> John, Manolopoulos, 28 John, Nikolaidis,35...John,Fissas,40 Query Result

Proposed Web Caching Algorithm – Proxy Structure PROXY STRUCTURE MAIN CACHE QUERY REWRITER CACHE DIRECTORY COOPERATIVE- SCHEME DIRECTORY WEIGHT CALCULATOR REST OF COOPERATIVE SCHEME URL/QTag TRANSFORMER

Proposed Web Caching Algorithm – Proxy Structure – URL/QTag Transformer Proxies manipulates Web-Objects (Query Results) through their Proxies manipulates Web-Objects (Query Results) through their Extract from a Web Object’s URL the Extract from a Web Object’s URL the – Query (Knowing the CGI that produces the Query Result) –LocationOfWebServer –DatabaseID 1-1 correspondence between URLs and QTags 1-1 correspondence between URLs and QTags

Proposed Web Caching Algorithm – Proxy Structure – Query Rewriter Proposed Web Caching Algorithm – Proxy Structure – Query Rewriter Rewriting the requested Web Objects (Queries) in case there is not an exact match of the requested query cached but it can be satisfied from other already cached web objects (queries). Rewriting the requested Web Objects (Queries) in case there is not an exact match of the requested query cached but it can be satisfied from other already cached web objects (queries). Query rewriter will follow standard query-rewriting methods and techniques that are already used to database system and environments Query rewriter will follow standard query-rewriting methods and techniques that are already used to database system and environments

Proposed Web Caching Algorithm – Proxy Structure – Weight Calculator Proposed Web Caching Algorithm – Proxy Structure – Weight Calculator Every web object will be characterized from a Weight W which will be determined from the following factors: Every web object will be characterized from a Weight W which will be determined from the following factors: S (Determined from the web-object’s size) Πs (Determined from the influence percentage of Factor S to the Weight) CS (Determined from the web-object’s cost-retrieval) Πcs (Determined from the influence percentage of factor CS to the Weight) Ρ (Determined from the web-object’s popularity) Πp (Determined from the influence percentage of Factor Ρ to the Weight) R (Determined from the web-object’s significance as far as its relationships concerns) Πr (Determined from the influence percentage of Factor R to the Weight)

Proposed Web Caching Algorithm Some of the Sub-QTags are cached None of the Sub-QTags are cached The Request arrives to a Proxy The URL/QTag Transformer Finds the QTag that best describes the incoming URL The QTag is sent to Query Rewriter Query Rewriter Rewrites the Query and produces Sub-QTags The Query Rewriter asks the Cache Directory if any of these Sub-QTags is already cached in the Main Cache All the Sub- QTags are cached Send request to Web Server and Caches the response Query Rewriter retrieves the locally cached Web Objects The Query Rewriter asks the Cooperative-scheme Directory if the rest Sub- QTags cached in other Proxies Not all of the rest of the Sub-Qtags are cached in other Proxies ALL of the rest of the Sub-Qtags are cached in other Proxies Proxy retrieves the Cached Web Objects from the other Proxies and sends them to Query Rewriter Query Rewriter combines the Sub QTags and the proxy sends the response The Proxy Caches locally the retrieved Web Objects Weight Calculator Refreshes Weight Value and Parameters of the Sub-Tags

Current and Future Work Study and Testing the proposed new approaches Study and Testing the proposed new approaches Definition of Workload Definition of Workload Better Definition and Testing of the proposed Algorithm Better Definition and Testing of the proposed Algorithm

Discussion Efficiency of Testing Tools (Simulator) Efficiency of Testing Tools (Simulator) Ideas for efficient Web Caching for Dynamic-Data Ideas for efficient Web Caching for Dynamic-Data Comments Comments

Thank You