WIDE 1
2 Web Web Web Web Web Web Web Web Web Web? Web Web
Things to cover Web Web Web Web Caching Proxy 3
Things NOT covered / How to execute Perl Scripts as CGI binaries on Windows NT How to avoid access to hidden pages... And such 4
Web TSS TSS? URL Web Web DNS, NetNews,, Mail,... 5
Web Web Web CGI, SSI, SHTML,... Java, JavaScript, ActiveX, Dynamic HTML,... 6
7
WWW GET method Web Web URI URI URI TinyHTTPD: : HTTP/1.0, GET POST Perl 197 197 http://www.inka inka.de/.de/~bigred/sw/ 8
URL (Remote Redirection) URI (Aliasing Aliasing) ACL ( ( / URI) User Authentication Virtual Hosting (Virtual Server) 9
fork fork fork fork + fork fork (e.g.: Squid in http-accelerator mode) 10
(1) Web DNS etc., etc.,... 11
12 (2) (2) ( v.s. v.s. Web Web CP CP IWE96 IWE96
(3) LAN / WAN: 28.8Kbps 10 10Mbps... 5KB 1KB/sec KB/sec 1 5KB / ( 1KB/sec) = 5 sec 100 500 500 100 20 20 13
(4) 14
15 CGI CGI 10 10 http://www.bsdi.com/products/internetserver/benchmarks/webperf BSDI/16
16 RPC/ RPC/ Web Web duration duration latency latency
17
18 sticky bit sticky bit Web Web
CPU,,,... 19
20 Web Web
Web Web WebStone http://www.sgi sgi.com/products/.com/products/webforce/webstone/ 2.01 SPECweb http://www.specbench specbench.org/.org/osg/web96/ SPECweb SPECweb96 96 21
Web SPECweb96 (1) 22
Web SPECweb96 (2) 23
Web SPECweb96, so? SPECweb96 96 24
25 Web Web (1) (1) baseline baseline v.s. v.s. v.s. v.s.
Web (2 (2) HTTP Per-connection forking H/W H/W S/W S/W 26
Web (3) RAID RAID5 RAID graceful degradation 27
Web (4) TCP/IP e.g.: Solaris2.5 2.4 2.43 TCP/IP CGI 28
URL) (plain and CGI) (h/w h/w s/w) 29
30
Web (1) CGI HTTP HTTP... HTTP (e.g. ftp) e.g.: 31
32 Web Web (2) (2) CGI CGI CGI CGI chroot chroot CGI CGI
33 Web Web (3) (3) PUT PUT...... PUT & SSI PUT & SSI PUT PUT...... PUT PUT SSI SSI PUT PUT SSI SSI GET GET PUT PUT GET GET / GET GET PUT PUT PUT PUT SSI SSI PUT PUT SSI SSI
Web (4) Intranet 34
35 Web Web (5 (5) Intranet Intranet FW FW mime-type mime-type?
36 Web Web listen listen
37 Web Web
WWW WWW!!! URL Simple document retrieval OK OK CGI, SSI,, TCP 38
Brute force Divide and conquer By request By function By content by-function 39
H/W 40
Web CGI CGI?? Document root? Path to executables? Path to Binary system programs?? 41
Web Web 42
Web Web 43
DNS 44
45 TCP TCP (1) (1) TCP TCP? The Internet Connction Dispatcher Server Array
TCP (2) CISCO: LocalDirector NAT IBM: TCP Router SP2 : MAC JAIST: TCP Router IP Others (Commercial & Free) 46
47 TCP TCP (3) (3) TCP TCP +
TCP (4) NAT ftp http with hidden state (e.g.: cookie) 48
Local Director Totally Reliable Fully Redundant Fault Tolerant TCP Servers Mail, Web, FTP etc. LocalDirector Mirrored Data Servers 49
50
51
FQDN FQDN FQDN (jp jp, uk,, au,...) Result japan.park.org jp domain Redirected query Redirection to japan.park.org DNS Reverse Lookup Original query park.org 52
53 FQDN FQDN : CGI CGI :...... com/org/net com/org/net FQDN FQDN
54 R CP CP R CP R CP Metric Query
55 : : RTT RTT
DistributedDirector 1:client clientdd DD server 2:DD DDDRP Agent 3: 4:client client 5 DistributedDirector 2 4 3 DRP Agents Internet 1
IBM s s Atlanta Olympic Server ping ping : : RTT RTTping 57
WWW WWW... WWW HTTP Internet HTTP HTTP-NG??? 58
HTTP Request Request TCP (?) Keep-Alive GET /~osamu/ ~osamu/ / HTTP/1.0 Connection: Keep-Alive Cookie 59
HTTP Internet HTTP 12KB 2KB TCP Keep-Alive T/TCP HTTP/1.0 -> HTTP/1.1 TCP -> T/TCP 60
61 & Web Web QoS QoS HTTP HTTP :......
/ 62
63