12 Distributed Web-Based Systems
12 Distributed Web-Based Systems
Chapter 12
(version October 15, 2007)
2. Server fetches
Client machine Server machine document from
local file
OS
3. Response
5. HTML document
created
Web server CGI process Database server
Stub Stub
Servicedescription
Service description(WSDL)
(WSDL)
Service description (WSDL)
Browser engine
Rendering engine
Client-side
Network script HTML/XML
comm. interpreter parser
Link between
function and hook
Apache core
Functions called per hook
Request Response
LAN
Request Response
6. Server responses
Web
5. Forward server 3. Hand of
other f
TCP connection
messages Distributor
Other messages
Dis-
Client Switch 4. Inform patcher
Setup request switch
1. Pass setup request Distributor 2. Dispatcher selects
to a distributor server
Web
server
env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<n:alertcontrol xmlns:n="http://example.org/alertcontrol">
<n:priority>1</n:priority>
<n:expires>2001-06-22T14:00:00-05:00</n:expires>
</n:alertcontrol>
</env:Header>
<env:Body>
<m:alert xmlns:m="http://example.org/alert">
<m:msg>Pick up Mary at school at 2pm</m:msg>
</m:alert>
</env:Body>
</env:Envelope>
Examples:
http HTTP http://www.cs.vu.nl:80/globe
mailto Mail mailto:[email protected]
ftp FTP ftp://ftp.cs.vu.nl/pub/minix/README
file Local file file:/edu/book/work/chp/11/11
data Inline data data:text/plain;charset=iso-8859-7,
%e1%e2%e3
telnet Remote login telnet://flits.cs.vu.nl
tel Telephone tel:+31201234567
modem Modem modem:+31201234567;type=v32
1. Look in
local cache
Reference input
Replica Consistency Request Metric
placement enforcement routing estimation
Analysis
Adjustment triggers Measured output
2 days 2 days
(a) (b)
5. Get embedded
documents
Return IP address 7. Embedded documents
client-best server
1. Get base document
CDN DNS 4 Origin
Client
server server
2. Document with refs
DNS lookups 3 to embedded documents
Regular
DNS system
Client query
Server Server
response
Content-blind Database
cache copy
full/partial data replication
Content-aware Authoritative
full schema replication/
cache database
Schema query templates Schema
Client query
Server Server
response
Content-blind Database
cache copy
full/partial data replication
Client query
Server Server
response
Content-blind Database
cache copy
full/partial data replication
1
Possibilities
2
Choices
Server
Client
3
[ K+S ] CA
4
[ K+C ] CA
5
K +S ([ R ] C)