Towards a Temporal World-wide Web: A Transaction-time Server Curtis Dyreson Electrical Engineering and Computer Science Washington State University, USA.

Slides:



Advertisements
Similar presentations
ECHO Browse Reclassification Document ID: ECHO_Ops_Con_023 Version: 2.
Advertisements

Database System Concepts and Architecture
1 3D_XML A three-Dimensional XML-based Model Khadija Ali, Jaroslav Pokorný Czech Technical University Prague - Czech Republic.
4.01 How Web Pages Work.
Advanced Databases Temporal Databases Dr Theodoros Manavis
Tracking a Web Site’s Historical Links with Temporal URLs David Chao College of Business San Francisco State University.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
CS240A: Databases and Knowledge Bases Time Ontology and Representations Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Temporal Databases. Outline Spatial Databases Indexing, Query processing Temporal Databases Spatio-temporal ….
INTRODUCTION The Group WEB BROWSER FOR RELATION Goals.
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Temporal Databases. Outline Spatial Databases Indexing, Query processing Temporal Databases Spatio-temporal ….
Multiple Tiers in Action
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
CS240A: Databases and Knowledge Bases Time Ontology and Representations Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
The Design Of A Web Document Snapshots Delivery System David Chao College of Business San Francisco State University.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
HTML Comprehensive Concepts and Techniques Intro Project Introduction to HTML.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
A Web Crawler Design for Data Mining
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Recent research : Temporal databases N. L. Sarda
Dr. T. Y. Lin | SJSU | CS 157A | Fall 2011 Chapter 1 THE WORLDS OF DATABASE SYSTEMS 1.
CIS 250 Advanced Computer Applications Internet/WWW Review.
An Approach to Persistence of Web Resources Joachim Feise University of California, Irvine Information and Computer Science
CS 1308 Computer Literacy and the Internet
Department of Computer Science Internet Performance Measurements using Firefox Extensions Scot L. DeDeo Professor Craig Wills.
Space-Efficient Support for Temporal Text Indexing in a Document Archive Context Kjetil Nørvåg Department of Computer and Information Science Norwegian.
The Management of a Website’s Historical Resources David Chao College of Business San Francisco State University.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
What is Web Information retrieval from web Search Engine Web Crawler Web crawler policies Conclusion How does a web crawler work Synchronization Algorithms.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
How Web Database Architectures Work CPS181s April 8, 2003.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
CPT-S Advanced Databases 11 Yinghui Wu EME 49.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Project Webpage: Funded by: mod _ kaPoW: Mitigating Denial-of-Service with Transparent Proof-of-Work Ed Kaiser & Wu-chang.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Running a Forms Developer Application
Chapter 1 Introduction to HTML
Module 11: File Structure
Project 1 Introduction to HTML.
Chapter 12 Information Systems.
Introduction What is a Database?.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Data, Databases, and DBMSs
Temporal Databases.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
MVC Controllers.
Intro Project Introduction to HTML.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs
Presentation transcript:

Towards a Temporal World-wide Web: A Transaction-time Server Curtis Dyreson Electrical Engineering and Computer Science Washington State University, USA (Information Technology - Bond University)

2 Outline Motivation Additional functionality Temporal database Transaction time Timeslice and rollback Transaction-time web server Lazy transactions Queries Future work

3 Motivation Sep. 25, 2000 Cathy Freeman won the 400m Sep. 26, 2000, article in The Australian URL of the on-line newspaper (sports section)

8 Capability of a Transaction-time Server URL of the on-line newspaper (sports section) Desired URL Avoid URL munging with XLink XML specification of link with additional elements for transaction time query

9 Motivation Timeslice Entertainment, government, audit URI/XPath/XPointer  Resource is “pinned” Pages within interval Rollback - Restore a previous page Fetch latest Broken links  Hyperlinks point to independently evolving resources  NEC %-10% of links are broken Show changes HTMLdiff, XMLdiff (AT&T Bell Labs)

10 Constraints on Design Backwards compatible Minimal changes to HTML, HTTP, servers, browsers No changes to legacy pages No changes to page maintenance culture Coexistence compatible Partial migration Simplify problem Ignore active pages  ASP  CGI-bin Ignore processing changes  Javascript bug fixes

11 Temporal Database - Time Dimensions Valid time Time when “true” in real world Transaction time Lifetime in database Interval Degenerate relationship (Snodgrass and Jensen, Temporal Specialization and Generalization, TKDE, 1996)

12 Interval representation - DBMS maintained On Jul/2/2000 DELETE FROM Movie WHERE Actor=‘Arnuld’; INSERT INTO Movie (‘True Lies’, ‘Arnold’); Schema evolution (e.g., Roddick and Snodgrass, TSQL2, 1995) Transaction Time Toy Story Lion KingMustafa Tom MovieActor Transaction Time start end now Jan/4/1999 now Jan/4/1999 True LiesArnuldnow Jan/4/1999 True LiesArnuld True LiesArnold Jul/1/2000 Jan/4/1999 now Jul/2/2000

13 Web vs. Database Must use DBMS to modify data On the web, updates are independent of server pages editor server database server data user

14 Transaction Time without Transactions Web resources are files File modification time Included/dependent files Page versions transaction time now April 1 June 2 May 2 May 5

15 Lazy Transactions Perform transaction during HTTP get resources browser server archive database archived resources

16 Archive Database Single relation URL, resource, transaction-time interval (Almost) An append-only relation Insert on HTTP get  For new versions only Resource forwarding  Possibly insert historical records for new URL Resource expiration  Transaction stop time is in the future Resource extinction (not append-only)  Delete records for resource Resource vacuuming (not append-only)  Delete some versions

17 Transaction-time Timeslice server request as of time X archive database archived resources

18 Broken Links pages server request ? archive database archived resources

19 History of Changes pages server request archive database archived resources HTML diff

20 URL Munging Examples Translate links to time of retrieval Current version tabloid.au/sports.html?now,now by default tabloid.au/sports.html?now,now Version on Jan/6/2000 (links are to current state) tabloid.au/sports.html?6-Jan-2000,now Version on Jan/6/2000 (links are as of that time) tabloid.au/sports.html?6-Jan-2000,6-Jan-2000 Sequence of predecessors tabloid.au/sports.html?pred,pred

21 Cost Space - disks are cheap Store diffs  RCS Append-only  Without resource extinction  CD’s are really cheap Vacuuming Offsite-storage  Internet archive Time Overhead on reading a file  Database lookup, file read, file write Milliseconds are important

22 Implementation - Future Work One server strategy Jigsaw - T. Dalling, JCU Honour’s Thesis 1998 Apache - H. Lin, WSU Master’s Thesis  Modify GET  Translation module  Experiment Two server strategy One transaction-time server, one normal server GET request goes to both  Asychronous  TT server has low priority

23 Transaction-time Web Server Summary Local server enhancement Non-TT servers ignore stuff after the ? Compatible HTTP, HTML, URLs Page maintenance “culture” Cost Modest overhead on normal fetches Some strategies for saving space