Download presentation
Presentation is loading. Please wait.
Published bySilas Casey Modified over 9 years ago
1
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 A Runtime System for Interactive Web Services Claus Brabrand, Anders Møller, Anders Sandholm, Michael I. Schwartzbach BRICS, University of Aarhus, Denmark
2
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Plan Illustrate problems with CGI –example interactive web service. Solve problems one by one –building on top of CGI. Additional problems and solutions. Package solutions into runtime system. Conclusion.
3
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 An Interactive Web Service
4
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Save, Restore State : :
5
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Bookmarks
6
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Bookmarks Bookmark What?
7
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Back Button
8
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Back Button
9
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Back Button Pay twice ?!
10
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore State Bookmark Back Button
11
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore State Bookmark Back Button
12
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGIHTML CGI restore ; compute ; save
13
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Adding a ”Connector” Internet client HTTP server program database CGI HTML CGI connector HTML CGI HTML restore ; compute ; save redirect
14
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore State Bookmark Back Button
15
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector Bookmark Back Button
16
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector Bookmark Back Button
17
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Bookmarks Problem: –CGI URL bookmarked (not HTML response). Consequence: –Must complete entire service right away. Would like: –Pause service (bookmark), resume later.
18
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGI HTML CGI connector HTML CGI HTML
19
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Adding an HTML “Reply File” Internet client HTTP server program database CGI done! CGI connector jump CGI jump HTML reply file HTML
20
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector Bookmark Back Button
21
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back Button
22
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back Button
23
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: Back Button Problem: History of old requests: –Annoying. –No longer make sense. –Dangerous! (for client and server) Would like: –Back should take us “back”. –Never see old CGI requests.
24
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGI done! CGI connector jump CGI jump HTML reply file HTML
25
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGI done! CGI connector jump CGI jump HTML reply file HTML same URL
26
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back Button
27
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File
28
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Additional Problems
29
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Additional Problems
30
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 What is going on? Error? Abort... –Package Lost? –Service Crash? –Connection? Ok? …or Wait !? –Searching Database? –Long Computation? –Waiting for a Resource?
31
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Problem: User Impatience Consequence: –Users leave service. Would like: –Explain delays. “Searching database … Please wait.”.
32
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGI done! CGI connector jump CGI jump HTML reply file HTML
33
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Adding a Connector Timeout Internet client HTTP server program database CGI done CGI connector jump CGI jump HTML reply file update Timeout
34
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File User Impatience
35
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File User Impatience+ Timeout
36
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File User Impatience+ Timeout Concurrency Control
37
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Concurrency Control Problem: Parallel service processes. –Access shared resources. –Require synchronization. Solution: –Allow separate specification of constraints. –Use safety controller process Ensures that service obeys constraints.
38
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Components Internet client HTTP server program database CGI done CGI connector jump CGI jump HTML reply file update Timeout
39
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Adding a Safety Controller Internet client HTTP server program database CGI done CGI connector jump CGI jump HTML reply file update controller wait pass Timeout
40
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File User Impatience+ Timeout Concurrency Control
41
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 CGI Problems Save, Restore StateConnector BookmarkReply File Back ButtonReply File User Impatience+ Timeout Concurrency ControlController
42
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Runtime System Everything implemented! –in C for Unix / Linux. Available: http://www.brics.dk/bigwig/runwig/ –Source –Documentation. –Examples.
43
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Research project at BRICS. Domain specific high-level language: –Rapid construction of interactive web services. –Compiles into: HTML, CGI, Java, JavaScript, … –Uses our runtime system extensively. http://www.brics.dk/bigwig/
44
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Research project at BRICS. Domain specific high-level language: –Rapid construction of interactive web services. –Compiles into: HTML, CGI, Java, JavaScript, … –Uses our runtime system extensively. http://www.brics.dk/bigwig/
45
WWW8 - Toronto "A Runtime System for Interactive Web Services" May 12, 1999 Conclusion CGI: widely used, but inherently low- level. Our Runtime System: –Higher level. –Built on top of CGI. –Compact and efficient. –Solves the problems discussed.
46
The CGI Model CGI ClientServer restore ; compute ; save CGI HTML read ; fill-out ; submit read ; fill-out ; submit restore ; compute ; save
47
Adding a “Connector” CGI ClientServer CGI HTML read ; fill-out ; submit read ; fill-out ; submit awake ; compute ; sleep awake ; compute ; sleep
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.